Closed ldeveber closed 4 years ago
Hi @ldeveber! Do you know if this problem happens with both storybook-addon-paddings@1.0.1
and storybook-addon-paddings@2.0.0
? I suspect it's caused by the introduction of react-easy-state
in https://github.com/rbardini/storybook-addon-paddings/pull/2/commits/149b1893ba1e200b0d04aee88a2f7dae69e4e677 to maintain the selected padding option between stories.
Hi @ldeveber! Do you know if this problem happens with both
storybook-addon-paddings@1.0.1
andstorybook-addon-paddings@2.0.0
? I suspect it's caused by the introduction ofreact-easy-state
in 149b189 to maintain the selected padding option between stories.
I don't know. I only just tried it last week and haven't gotten back to poking it again. I can try 1.0.1 tomorrow!
Just released storybook-addon-paddings@2.0.2
with a complete rewrite of the paddings decorator. I'm not sure it fixes compatibility with StoryShots addon, but please give it a try if you have a chance and let me know how it goes 🙂
Hi! I was trying to add this to my project, and it seems to break all my jest unit tests. The output was extremely long so I just grabbed the tail end of the repeated stack trace: