Sidebar when in floating mode can never be set back to normal sidebar mode
Closed this issue · 2 comments
Describe the bug
When sidebar is set to floating mode & sidebarCollapseMode is offcanvas then the open button on the sidebar doesn't work. It won't set the sidebar back from floating mode to normal sidebar mode.
To Reproduce
Steps to reproduce the behavior:
- Go to settings
- Select Off Screen in Sidebar Collapse Mode dropdown under sidebar settings
- Close sidebar
- Hover on the side of the screen for sidebar to appear
- Click on open button
- Closes the sidebar & doesn't set the sidebar to normal sidebar more instead keeps it in floating mode
Expected behavior
Should set the sidebar in normal sidebar mode
Screenshots
Screen.Recording.2025-06-01.at.12.08.14_720.mov
Device Information:
- OS: MacOS
- App Version: 0.8.1
Additional context
Love the work, really awesome browser & clean code. I showed it to my mom & she loved it! ❤️
Now, I tried fixing it but it would require me to change the hover handling logic.
This particular code snippet is what's causing the reset even if I change the open button handler to set the sidebar variant back to sidebar. I'm not sure how you'd like to handle it so I left it untouched. I was thinking in terms of having another state in useSidebar but would like to discuss.

i can confirm that this problem is known and happens on linux too
i can confirm that this problem is known and happens on linux too
Yes, this is a code logic issue so will happen on all the platforms. I know where the problem is, just not sure if the maintainer has something particular in mind.
Meanwhile I'm working on a pinning feature for the floating sidebar.