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

Exclude input and textarea from "/" key handler #1213

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

sy-records
Copy link
Member

Fix #1211

Updated the keydown event listener to exclude and <textarea> elements in addition to contentEditable elements. This ensures that the "/" shortcut does not interfere with user input in form fields or editable areas.

Copy link
Contributor

🚀 Preview for commit 2cf9118 can be found at https://web-php-pr-1213.preview.thephp.foundation

Copy link
Contributor

🚀 Regression report for commit 2cf9118 is at https://web-php-regression-report-pr-1213.preview.thephp.foundation

Copy link
Member

@saundefined saundefined left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sy-records sy-records merged commit 8231de0 into php:master Jan 28, 2025
5 checks passed
@sy-records sy-records deleted the fix/search branch January 28, 2025 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search modal popup interferes with submitting user notes.
2 participants