Skip to content

Fixed the preview keyboard shortcut focusing wrong tab

Phil Hughes requested to merge form-focus-previous-incorrect-form into master

What does this MR do?

The preview keyboard shortcut would select the global selector .js-md-preview-button before focusing it. This changes that to focus the .js-md-preview-button in the current form. This prevents the page from scrolling when it doesn't need to.

What are the relevant issue numbers?

Closes #31101 (closed)

Merge request reports