storybook-eol/addon-smart-knobs

Performance issues with large dropdowns

petermikitsh opened this issue · 0 comments

Some of my components have enum types where the value is one string from a possible set of about ~1600 strings.

When switching between stories that have these types, performance noticably drops: it takes a few seconds to render the next story and it's addon panels. I have narrowed the bottleneck to this super useful addon.

Would maintainers be open to using a virtualized select implementation to improve performance? Ex: something like https://github.com/bvaughn/react-virtualized-select

I am willing to contribute this change. Thanks!