MrOtherGuy / firefox-csshacks

Collection of userstyles affecting the browser
Mozilla Public License 2.0
3.13k stars 310 forks source link

autohide_bookmarks_and_main_toolbars while using application menu #321

Closed konsulas closed 9 months ago

konsulas commented 9 months ago

When I open application menu (hamburger button) and move mouse down menu, bookmarks and main toolbars becomes hidden, but menu suddenly moves up a bit. Because of that I often press wrong option. I think toolbars should not be hidden while navigating menu.

MrOtherGuy commented 9 months ago

Yes, that is quite unfortunate. There is an optional section in that style as a crude workaround for exactly this issue, but it has other problems. This cannot be solved without support for :has selector which has only recently been enabled in pre-release builds.

So, with :has support we can actually fix this correctly - I've done that in 7333858 In Firefox 119 :has selector can be enabled by flipping pref layout.css.has-selector.enabled to true - but it might or might not have issues.

konsulas commented 9 months ago

Working! Thanks.