-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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 shortcuts getting reset and "Reset Viewport" hotkey doesn't work #17519
Comments
Haven't confirmed this but a guy from Discord said it worked on Windows so it might be OS related. I'm running OS X could also be keyboard layout related I have Swedish keyboard layout. |
Here is the problem. The storybook/lib/api/src/lib/shortcut.ts Line 40 in a8db958
|
Maybe use Keyboard layout is not stable. If that above was stable then we could do a really nice solution... So the hotkey shortcuts are localized. |
+1 just stumbled upon this on mac in 6.3.13 |
Great Caesar's ghost!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-beta.30 containing PR #20167 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
Describe the bug
There are 2 bugs with Keyboard shortcuts.
To Reproduce
This is a super simple example. Just creating a CRA app and installing Storybook. Have the same issue in my big app as well and that is a Next.js app.
System
The text was updated successfully, but these errors were encountered: