cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Matrosov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12923) Native Dialog enters new line when pressing the enter key on Android
Date Thu, 22 Jun 2017 15:13:00 GMT

    [ https://issues.apache.org/jira/browse/CB-12923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059514#comment-16059514
] 

Nikita Matrosov commented on CB-12923:
--------------------------------------

[~ktran13], It seems to me that it's expected behavior since 'setOnEditorAction' listener
is not set to 'EditText', you can use buttons to handle user input (https://github.com/apache/cordova-plugin-dialogs#navigatornotificationprompt)

> Native Dialog enters new line when pressing the enter key on Android
> --------------------------------------------------------------------
>
>                 Key: CB-12923
>                 URL: https://issues.apache.org/jira/browse/CB-12923
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-dialogs
>            Reporter: Kristian Tran
>
> Steps to Reproduce:
> 1. Prompt the user to enter an input using the native dialog plugin
> Actual:
> When using the input prompt on Android, the input adds new lines when the user presses
"enter" on the keyboard.
> Expected:
> The input dialog closes when the user presses enter



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message