-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
While editing a page in the Site Editor, if you modify the preview size using the "view" button in the top bar and then return to the Editor navigation, the iframe retains its resized state while the container does not. This results in an unusual behavior when attempting to resize it using the preview's left handle.
Expected behavior
Would it be better to reset the preview to the desktop mode when the user exits from the editing mode?
Step-by-step reproduction instructions
- Open the Site editor
- Click on a page to enable the editing mode
- Change the preview mode to something differente from the desktop mode
- Click on the top left corner WordPress logo to go back to the Editor navigation
- Try to resize the preview with the left handle
Screenshots, screen recording, code snippet
Registrazione.schermo.2023-07-10.alle.11.32.07.mp4
Environment info
WordPress 6.3-beta3
Gutenberg 16.1.2
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
Metadata
Metadata
Assignees
Labels
[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended