Ajax replace inside a modal causes the current field to lose focus.

Created on 10 December 2019, almost 6 years ago
Updated 30 January 2023, over 2 years ago

Problem/Motivation

When a field inside a modal form is replaced, focus is moved to the top of the form.

Proposed resolution

Don't move focus if the currently focused element is inside the modal.

🐛 Bug report
Status

Needs work

Version

10.1

Component
Ajax 

Last updated about 1 month ago

Created by

🇺🇸United States c7bamford

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024