mirror of
https://github.com/stablyai/orca.git
synced 2026-10-23 16:03:49 +00:00
* Center newly opened tabs at end, keep close controls visible - Add end padding to tab strip to preserve close button visibility against fade - Center scroll position for newly revealed end tabs, avoiding hard scroll-to-end - Only pin-to-end for new tabs that are also active; restored mid-strip tabs stay in place * test(tab-scroll): clarify when tabs center vs settle at end Add lastTabGeometry helper to correctly derive scrollWidth from the pad policy. Update test expectations to document that center requests only land centered when the strip is within 2x the inset of the last tab's width; wider gaps settle at the end with inset. * fix(tab-bar): sync active tab id ref after render React Doctor rejects mutating refs during render. Keep the latest active tab id in a layout effect so overflow navigation still sees it without an impure render write.