You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The zoom state in the editor doesn't properly reset when the component unmounts, causing the zoom state to persist unexpectedly across editor sessions and responsive view changes.
Step-by-step reproduction instructions
Open the WordPress block editor
Click the zoom out button to activate zoom
Resize the browser window to a smaller width
Resize the browser window back to larger width
Observe that the zoom visual effect is lost but the button remains in a "pressed" state
Screenshots, screen recording, code snippet
Screen.Recording.2025-02-07.at.12.10.49.PM.mov
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Please confirm which theme type you used for testing.
Description
The zoom state in the editor doesn't properly reset when the component unmounts, causing the zoom state to persist unexpectedly across editor sessions and responsive view changes.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Screen.Recording.2025-02-07.at.12.10.49.PM.mov
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.
Please confirm which theme type you used for testing.