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

Ensure field is focused when selected #8566

Merged
merged 1 commit into from
Jun 24, 2022
Merged

Ensure field is focused when selected #8566

merged 1 commit into from
Jun 24, 2022

Commits on Jun 24, 2022

  1. Ensure field is focused when selected

    As noted by MDN, calling `element.select()` doesn’t necessarily focus the
    element. As such, they recommend calling `element.focus()` too.
    
    See https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select#notes
    elstgav committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    b549486 View commit details
    Browse the repository at this point in the history