Problem/Motivation
Ensure that "More settings", and other fields are focused on when a validation error occurs.
Otherwise actions are triggered, but there's no visual feedback for why the form submission isn't being carried out.
Steps to reproduce
1. Enable the responsive_preview module.
2. Create a new piece of content, and leave the mandatory "Title" field unticked.
3. Disable fullscreen mode.
4. Switch to the Block tab on the sidebar.
5. Click the Responsive Preview icon in the top Drupal toolbar and click "Phone".
You can also test with a mandatory field within the More Settings section.
Proposed resolution
Add code to ensure the appropriate section is made visible so that it can be focused on.
Remaining tasks
Provide MR.
User interface changes
N/A
Issue fork gutenberg-3574787
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
codebymikey commentedComment #4
codebymikey commentedComment #6
codebymikey commented