Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V8: Re-apply input focus to the last focused element when closing dialogs #6951

Merged

Conversation

kjac
Copy link
Contributor

@kjac kjac commented Oct 29, 2019

Prerequisites

  • I have added steps to test this contribution in the description below

Description

Tabbing through the content editor is made really hard by pickers and other dialogs spawned by editorService. When they're closed, input focus is set to the first applicable element on the page, which is in the top menu:

reapply-focus-before

This PR makes editorService attempt to re-apply input focus to the element that had input focus before the dialog was opened:

reapply-focus-after

See also #6934.

@poornimanayar poornimanayar changed the base branch from v8/dev to v8/contrib February 10, 2020 09:47
Copy link
Contributor

@poornimanayar poornimanayar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well @kjac , Happy to approve :-)

@poornimanayar poornimanayar merged commit b6efb86 into umbraco:v8/contrib Feb 10, 2020
@poornimanayar
Copy link
Contributor

And merged :-) Thank you for the work as always :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants