ITADN

Enhance keyboard event handling to include select element in focus check

#508Pull Requestalex-one-v 创建于 2024-07-15
wontfix
A
alex-one-vcommented
Summary: Modified the keyboard event handler to include the select element in the focus check condition, ensuring the correct handling of Tab key events when a select element is focused. Details: Added select to the list of elements (input, textarea, button) that prevent further handling of the Tab key event. This change ensures that when a select element is focused, the Tab key event will not trigger the custom focus logic, maintaining the expected behavior for form navigation. Testing: Manually tested the change to ensure that the Tab key behaves correctly when a select element is focused. Confirmed that the modification does not affect the existing functionality for input, textarea, and button elements.
合并状态:未合并 2 条评论