Skip to content

ReturnPress is invoked twice on returnKey tap #4461

@jboeijenga

Description

@jboeijenga

Please, provide the details below:

The ReturnPressEvent is fired twice for text-fields with returnKeyType 'go', 'search' or 'send' on Android phones.

I've created an example project to illustrate the problem

The issue is easily reproducible by starting up the app and pressing the different return keys. Every press should increase the count with 1 but for the return keys with type 'go', 'search' or 'send the count is increased with 2.

Did you verify this is a real problem by searching [Stack Overflow]

There is a closed issue I've found because there was no ability to reproduce this issue.
Also it seems like there are problem for people using react native. So the issue might be more generic than the nativescript implementation

Which platform(s) does your issue occur on?

Android

Please tell us how to recreate the issue in as much detail as possible.

Run the example project I've created.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions