Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Pressing enter on keyboard switches back to previous screen #867

Open
ionitron-bot bot opened this issue Dec 8, 2018 · 0 comments
Open

Pressing enter on keyboard switches back to previous screen #867

ionitron-bot bot opened this issue Dec 8, 2018 · 0 comments
Labels

Comments

@ionitron-bot
Copy link

ionitron-bot bot commented Dec 8, 2018

Original issue by @samastur on 2018-02-02T14:03:39Z

Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ X] 3.x
[ ] 4.x

I'm submitting a ... (check one with "x")
[ X] bug report
[ ] feature request

Please do not submit support requests or "How to" questions here. Instead, please use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:

  1. Open a page with an ion-input field.
  2. Tap on the input field to open keyboard
  3. Press enter on keyboard
  4. Page immediately transitions to the previous page (goes back).
  5. Keyboard closes.
  6. Form submit handler is not triggered.

Expected behavior:

Switching to the next field or submitting form if this was the last one. No action would also be preferable.

Steps to reproduce:

Follow current behavior on presumably any Ionic app with ion-input.

Related code:

None. Every sample app repo I created was completely ignored by Ionic team. Try it on your app's first.

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:

    cordova (Cordova CLI) : 7.0.1

local packages:

    @ionic/app-scripts : 3.1.5
    Cordova Platforms  : android 6.3.0 ios 4.5.3
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.0.2
    ios-deploy        : 1.9.2
    Node              : v6.11.3
    npm               : 5.5.1
    OS                : macOS Sierra
    Xcode             : Xcode 9.2 Build version 9C40b

Environment Variables:

    ANDROID_HOME : /Users/markos/android

Misc:

    backend : pro
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

0 participants