Textarea focus remains when switching to new textarea element
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
People
(Reporter: krcowles29, Unassigned)
Details
Attachments
(1 file)
1.24 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0
Steps to reproduce:
Using simple html file attached, enter a negative number into the leftmost textarea. Tab or click to a second textarea element. Alert will appear. Click 'OK'. Tab or click to a third textarea without having entered any data in second element. User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0
Actual results:
After clicking 'OK' and tabbing/clicking to a third textarea, focus remains in second textarea and is also in third textarea - i.e. focus is in two textareas simultaneously.
Note: this is always repeatable, and tested in a new profile as well but not in beta. I did not see a similar issue in bugzilla. This anomaly is not seen on other browsers. Changing 'focusout' to 'change' in javascript makes no difference.
Expected results:
When tabbing or clicking to a new element, focus should always leave the old element and move to the new element.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: UI Events & Focus Handling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Description
•