Skip to content

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

Open
@Sharcoux

Description

@Sharcoux

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions