fix: issue 3176 fixed to Enable Enter on Search in keyboard shortcut extension
Issue: #3176 Enable Enter on Search
Description: This pull request introduces a new feature that allows the focus to change when the user presses the "Enter" key while an input field is active in the keyboardShortcut.js. This enhancement enables users to use the navigation by clicking "f" to control the app.
Changes:
Added an event listener for the "Enter" key press on input fields. When "Enter" is pressed, the focus is removed from the input field. Ensured the default action of the "Enter" key is prevented to avoid unwanted form submissions.
Testing:
Tested the functionality in multiple browsers to verify consistent behavior. Verified that the focus correctly shifts when pressing "Enter" on the active input.