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

onSelectionChanged and selectionchange events not fired on TextInput when keyboardType is 'email-address' #2719

Open
1 task done
Sharcoux opened this issue Sep 27, 2024 · 2 comments
Labels

Comments

@Sharcoux
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the issue

When keyboardType is set to 'email-address' on a TextInput, the selectionchange event and the onSelectionChange callback are not being fired.

Expected behavior

The event should be fired, just like it is fired with other values of keyboardType

Steps to reproduce

Create a TextInput
Add console.log as onSelectionChange: onSelectionChange={console.log}
type text in the TextInput
move the caret within the TextInput

Test case

https://codesandbox.io/p/sandbox/currying-sea-vlm9sg

Additional comments

No response

@Sharcoux Sharcoux added the bug label Sep 27, 2024
@Sharcoux
Copy link
Author

Sharcoux commented Oct 7, 2024

Ok, the problem doesn't come from react-native-web :

https://codesandbox.io/p/sandbox/currying-sea-vlm9sg?file=%2Fsrc%2FApp.js%3A11%2C9

However, I don't know who I should report this to, because it happens to chrome AND Firefox. Who can be the culprit?

@Sharcoux
Copy link
Author

Sharcoux commented Oct 9, 2024

Opened in React

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

No branches or pull requests

1 participant