-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
6.1: Storyshot content shifted #13178
Comments
Probably related to layout parameter changes @ndelangen @ghengeveld ? |
Must be this one: fe05526 |
By the way I don't see a visual difference in the images provided, but I'm not sure what I'm supposed to see. Should certain pixels be highlighted because they changed, or is that not how storyshots works? As far as I'm aware Chromatic hasn't detected any visual differences between 6.0 and 6.1. Edit: oh I see now, the right-hand is aligned slightly lower. |
@ghengeveld I believe it's the css rule Here's 6.0 vs 6.1 (see 6.1 has scrollbar): Here's 6.1 with the rule turned off: |
Ta-da!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.1.2 containing PR #13192 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
After upgrading to 6.1, I had to regenerate storyshot baselines because screens shifted a couple pixels.
Example: my chip is slightly lower on the right. Storyshot on left generated with 6.0, right is 6.1.
To Reproduce
Expected behavior
Storyshots should be identical between 6.0 and 6.1
Screenshots
Here's another example:
Code snippets
Maybe this has something to do with layouts?
.storybook/preview.tsx
:System
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: