bootlin / elixir

The Elixir Cross Referencer
GNU Affero General Public License v3.0
988 stars 147 forks source link

Wrong behavior of "select version" toolbar #331

Closed Fomys closed 1 month ago

Fomys commented 1 month ago

On desktop, when I resize the window, the "mobile toolbar" can appear.

The behavior I can observe is this:

What I expect is that the mobile toolbar does not appear.

I looked at the local storage, and I think the issue is that the value "show-sidebar" is only updated on page load and manual click on the toolbar. This probably needs to be set to false by default when the initial load is "big", so when the window is resized, the toolbar does not pop over the content.

Version used: firefox 115.13.0esr (64 bits), private navigation, any page of elixir

Thanks

fstachura commented 1 month ago

Hello,

thanks for the report. I can confirm that this is unintentional.