Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend sidebar sticky on scroll #496

Closed
sbonardt opened this issue Jun 28, 2019 · 1 comment

Comments

@sbonardt
Copy link
Contributor

commented Jun 28, 2019

For the new responsive layout, we need the backend sidebar with the menu sticky scrollable. For niceness

@sbonardt sbonardt self-assigned this Jun 28, 2019

@bobdenotter bobdenotter added this to the Bolt 4 beta 2 milestone Jul 8, 2019

@sbonardt

This comment has been minimized.

Copy link
Contributor Author

commented Jul 26, 2019

It seems adding the supported position: sticky results in sidebar height problems. That is, the blue background of the sidebar does not extend fully on not very high viewports (when testing the sticky). So the sticky bit works but because of the overflowing submenus on the main menu on not very high viewports the overflowing forces extra whitespace after the sidebar which does not extend because we are positioning sticky...

I advise not to use the position sticky for now. Also the result was a bit weird. It did position sticky itself and upon scrolling everything worked as should be, but it felt kind of strange. I can imagine this feeling extra strange for users on a backend with a very long (high) main menu in the sidebar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.