Skip to content

Distraction free mode does not hide the Custom Fields panel #48909

@jonathanbossenger

Description

@jonathanbossenger

Description

When switching to the new distraction-free mode in WordPress 6.2, if the user has enabled the Custom Fields panel, the panel is not hidden when the distraction-free mode is enabled.

To reproduce, enable the Custom Fields panel in the Editor preferences, and then enable Distraction-free mode.

Tested on WordPress 6.2-beta5.

Step-by-step reproduction instructions

  1. Create a new post or page
  2. Enable the Custom Fields panel for the block editor
  3. Enable Distraction free mode

Screenshots, screen recording, code snippet

custom-fields-enabled-scaled

Environment info

  • WordPress 6.2-beta5
  • Gutenberg plugin is not enabled

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

General InterfaceParts of the UI which don't fall neatly under other labels.[Package] Preferences/packages/preferences[Type] BugAn existing feature does not function as intended

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions