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

Safari: Allow select/copy/paste #197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bdavies
Copy link

@bdavies bdavies commented Oct 28, 2024

Tested on Safari for Mac, latest version.

Due to the onInputKeyPress being quite restrictive, and Safari treating the keyboardPress event differently to other browsers, it was not possible to select all/copy/paste phone numbers into the input.

This PR resolves that by allowing ctrl/meta characters as part of the onInputKeyPress method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant