Storybook: Can't change knobs when material-ui dialog is open

Created on 8 Jan 2020  路  3Comments  路  Source: storybookjs/storybook

Describe the bug
Hello everyone. Just have a bug with knob addon. Fields lost focus immediately after click so that I can't change knobs. It happens only with material-ui Dialog. Please look at the screenshot below. Thanks a lot for your help.

ezgif com-video-to-gif

knobs bug has workaround inactive

Most helpful comment

This doesn't just affect the knob addon, it also stops other input fields on the page from working. Try using the Storybook sidebar search and you will notice the same behaviour.

You can use the disableEnforceFocus prop on the Material UI <Dialog /> component to prevent this from happening.

All 3 comments

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!

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!

This doesn't just affect the knob addon, it also stops other input fields on the page from working. Try using the Storybook sidebar search and you will notice the same behaviour.

You can use the disableEnforceFocus prop on the Material UI <Dialog /> component to prevent this from happening.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aericson picture aericson  路  97Comments

ilias-t picture ilias-t  路  73Comments

ChucKN0risK picture ChucKN0risK  路  74Comments

ilyaulyanov picture ilyaulyanov  路  100Comments

p3k picture p3k  路  61Comments