Skip to content

returnPress event invoked twice for each tap. #1940

@dreambo8563

Description

@dreambo8563

Tell us about the problem

Please, ensure your title is less than 63 characters long and starts with a capital
letter.

returnPress event will be invoked twice when tap the returnkey

Which platform(s) does your issue occur on?

iOS/Android/Both

just have android

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

testing with angualr2

    <TextField #text (returnPress)="returnPress()"  style="color:red;" returnKeyType="search" updateTextTrigger="textChanged" [(ngModel)]="name" keyboardType="email" hint="your name" secure="false"></TextField>
    returnPress() {
        console.log("returnPress");
    }

log:

JS: Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
JS: ANGULAR BOOTSTRAP DONE.
JS: returnPress
JS: returnPress

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions