-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ion-select activated on enter in input field #12202
Comments
Hello @peterssonanton , mind sharing a minimal repo we can use to reproduce this issue? I am not able to reproduce this on my Nexus 6 running Android 7.1.1. Thanks! |
Hi @jgw96 , |
Hi,
And when i press enter key on desktop or mobile in the ion-input, the select window is activated. |
Still reproducing the same issue. I had fixed it putting an invisible button at the top of the form, so that button is triggered instead of the ion-select when enter key is pressed. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Ionic version: 3.x
I'm submitting a ... bug report
Current behavior:
An ion-select element is activated when hitting the enter key while in an ion-input field on the same page. It seems to be the same issue as this that was fixed but has appeared again:
#5596
Expected behavior:
It should not open.
Steps to reproduce:
Have an ion-select an ion-input element on the same page.
Enter something in the input field.
When hitting enter (or Go/Submit on devices), the select window is activated as if you clicked the element.
Related code:
Other information:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: