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

Keyboard shortcut for @storybook/addon-viewport #9073

Closed
muhajirdev opened this issue Dec 5, 2019 · 3 comments
Closed

Keyboard shortcut for @storybook/addon-viewport #9073

muhajirdev opened this issue Dec 5, 2019 · 3 comments

Comments

@muhajirdev
Copy link

Is your feature request related to a problem? Please describe.
Sometimes I implement component (Figma -> React) with storybook. It often switch between two viewports. It would be nice if we have a shortcut to switch between two viewport

Describe the solution you'd like
Honestly. Probaly something like cmd + i . to toggle between two viewport

Describe alternatives you've considered
There's also other consideration when there are many viewport. Probably we can also use alt + 1, alt + 2 , alt + 3.

Are you able to assist bring the feature to reality?
Currently not yet. But I might try it when I have free time

@stale
Copy link

stale bot commented Dec 27, 2019

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label Dec 27, 2019
@stale
Copy link

stale bot commented Jan 26, 2020

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

@kaelig
Copy link
Contributor

kaelig commented Mar 30, 2021

For me, cycling through the viewports with V (next) and shift + V (previous) would be a nice addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants