jeb5 / Sidetabs

Because tabs should be vertical
GNU General Public License v3.0
67 stars 4 forks source link

Tab bar should not collapse while right click menu is open #15

Closed pickx closed 8 months ago

pickx commented 10 months ago

while the tab bar is expanded, right-clicking a tab will immediately make the tab bar lose focus and thus collapse, making it harder to understand which tab the context menu will affect. I think the tab bar should remain expanded until focus is actually lost.

(thanks for making this!)

jeb5 commented 8 months ago

Thanks for the suggestion! 😁

As far as I'm aware, this is not possible. The userChrome modifications that make the sidebar auto-expand on hover rely on the CSS :hover pseudo-class, which is only active when the mouse is "hovering" over the sidebar. I don't think there's any way for the extension to programatically enable/disable styles applied by userChrome.css, so I have limited control over the auto-hiding behavior.