Skip to content
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

Implement snapshot zooming and panning #206

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Mar 9, 2024

Allows zooming the snapshot image to 100% on click, and panning the zoomed image by moving the mouse.
Originally from #151, but without the diff slider and other tweaks.

Screen.Recording.2024-03-09.at.17.37.57.mov
📦 Published PR as canary version: 1.6.1--canary.206.c19f7ca.0

✨ Test out this PR locally via:

npm install @chromatic-com/storybook@1.6.1--canary.206.c19f7ca.0
# or 
yarn add @chromatic-com/storybook@1.6.1--canary.206.c19f7ca.0

@ghengeveld ghengeveld requested a review from thafryer March 9, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant