-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Zoom out view: Device preview button doesn't work when zoom out view is enabled #65411
Comments
Hey @t-hamano 👋, I think this approach gives a more seamless experience:
To address this, we can modify the device type selection handler to turn off the zoom out mode before setting the new device type.
This can be done using:
This will make sure that the zoom out mode is disabled when a user selects a device type from the preview dropdown. Screen recording: Screen.capture.issue.65411.mp4 |
Is the best way to go here to
Ideally "exit zoom out when changing device preview" so that we keep a fluid overall experienc, but I find it confusing that only desktop can be zoomed out and also, so when zoom out is engaged the device preview should have no active element. |
@AhmarZaidi @t-hamano can you help me and test out #65444 - given #65404 made the control universally available I rushed a fix for this one. 🙇🏻 |
@draganescu I was about to make the same changes except for a check for Added a comment related to documentation here. Please feel free to ignore it if it's not necessary. |
Description
The device preview button is not clickable when the experimental zoom out view is enabled.
From my understanding, when the zoom out view is enabled, one of the following is the expected behavior:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
bb15fec4fdad4d459422a52b33e5078e.mp4
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: