Closed KrystineJannenga closed 2 years ago
this is funky to test - you have to yarn link to prop picker to see updates when multiple pickers on one page. What it does is creates a unique ID attached to the prefix "PU--" to make every classname unique for prop picks not to have the same CSS classNames and being overwritten. When you run storybook you can see this new id added (picker percentage loader classname in screenshot). Updates in tests were configured to the unique id for each picker. Real changes happened in ThemeProvider.
If you have any questions or need help please ask me lol this is a weird one. :)
feat(pickerPercentages): Add unique className to pickers to solve CSS problems (close prop-picker #124)