zotero/chrome
abaevbog e6b5ba60dd
fix tab not scrolling into view (#4404)
After react 18 update, the tab node may not yet be rendered
by tabBar.jsx when we try to scroll it into view in Zotero_Tabs.select.

- To make sure scrolling happens when rendering is done, move scroll-related
logic into a useEffect of tabBar.jxs. It also makes sure that we'll scroll to
a selected tab if it is moved via context menu to the very beginning or the end.

- Added a small scroll-padding to tabs container to make sure the border
does not get cutoff after the tab is scrolled into view instead of
JS code accounting for the border.

- Fixed a glitch where the pinned library tab would not get selected
on shift-tab from opened tabs menu.

Fixes: #4382
2024-07-18 02:19:07 -04:00
..
content fix tab not scrolling into view (#4404) 2024-07-18 02:19:07 -04:00
locale add aria-label to tag edit fields (#4231) 2024-07-16 02:36:02 -04:00
skin/default/zotero quickFormat rtl layout fixes (#4372) 2024-07-11 05:39:24 -04:00