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

Storybook: Fixed / Sticky top toolbar #24130

Open
Lewiscowles1986 opened this issue Jul 22, 2020 · 0 comments
Open

Storybook: Fixed / Sticky top toolbar #24130

Lewiscowles1986 opened this issue Jul 22, 2020 · 0 comments
Labels
Storybook Storybook and its stories for components [Type] Enhancement A suggestion for improvement.

Comments

@Lewiscowles1986
Copy link
Contributor

Lewiscowles1986 commented Jul 22, 2020

Is your feature request related to a problem? Please describe.

I was frustrated when I began to use the Storybook components for a plugin, and noticed some holes. One of these is that if I add too many blocks to the playground, the Toolbar floats uncomfortably and gets further away, the further I scroll past what seems to be an equator (middle of my HD screen).

Demonstration of problem

Describe the solution you'd like

Ideally, the functionality of the toolbar would allow it to be sticky, opaque, with high-enough ordering and so-on.

For now, I have a fix, which I would be happy to contribute to provide a Sticky BlockToolbar with controls fixed via hasFixedToolbar. I would like to know if you are open to PR on this.

Describe alternatives you've considered

I had considered not using Storybook.

I also considered looking for options, and there may be some, but I could not find them.

This may relate to #18619, which I see has been active since 2019.

@annezazu annezazu added [Type] Enhancement A suggestion for improvement. Storybook Storybook and its stories for components labels Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storybook Storybook and its stories for components [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants