Skip to content
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

bug (picker | browser): Bunch of picker is getting created #19882

Closed
indraraj26 opened this issue Nov 10, 2019 · 3 comments
Closed

bug (picker | browser): Bunch of picker is getting created #19882

indraraj26 opened this issue Nov 10, 2019 · 3 comments
Labels
package: core @ionic/core package type: feature request a new feature, enhancement, or improvement
Milestone

Comments

@indraraj26
Copy link

Bug Report

Ionic version:

[x] 4.x

Current behavior:

Press Enter(key) again and again picker will open and override existing picker with that it is creating bunch of picker.

Expected behavior:

It should not trigger by Enter(key).

Steps to reproduce:

  1. Press enter again and again after opening the picker.

Related code:
Html:
https://github.com/indraraj26/ionic4-starter-tabs-sidemenu/blob/picker/src/app/home/home.page.html
TS:
https://github.com/indraraj26/ionic4-starter-tabs-sidemenu/blob/picker/src/app/home/home.page.ts

insert short code snippets here

Other information:

Ionic info:

D:\ionicv4-github\ionic4-tabs-sidemenu>ionic info

Ionic:

   Ionic CLI                     : 5.4.4 (C:\Users\indra26\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework               : @ionic/angular 4.11.4
   @angular-devkit/build-angular : 0.801.3
   @angular-devkit/schematics    : 8.1.3
   @angular/cli                  : 8.1.3
   @ionic/angular-toolkit        : 2.0.0

Cordova:

   Cordova CLI       : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms : android 7.1.4
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 6 other plugins)

Utility:

   cordova-res : 0.8.0
   native-run  : 0.2.9

System:

   NodeJS : v10.16.3 (C:\Program Files\nodejs\node.exe)
   npm    : 6.9.0
   OS     : Windows 10


D:\ionicv4-github\ionic4-tabs-sidemenu>
@ionitron-bot ionitron-bot bot added the triage label Nov 10, 2019
@indraraj26 indraraj26 changed the title bug (picker | browser): open picker press enter again and again bug (picker | browser): Bunch of picker is getting created Nov 10, 2019
@liamdebeasi
Copy link
Contributor

Thanks for the issue. The default behavior of browsers is to keep the focus on the button you last clicked. In order to work around this you will need to manually call the blur method on the focussed element.

@ionitron-bot ionitron-bot bot removed the triage label Apr 6, 2020
@liamdebeasi liamdebeasi added package: core @ionic/core package type: feature request a new feature, enhancement, or improvement and removed needs: investigation labels Apr 8, 2020
@liamdebeasi liamdebeasi added this to the 5.1.0 milestone Apr 8, 2020
@liamdebeasi
Copy link
Contributor

Thanks for the issue. This has been resolved via #20997, and a fix will be available in an upcoming release of Ionic Framework.

@ionitron-bot
Copy link

ionitron-bot bot commented May 28, 2020

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators May 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: core @ionic/core package type: feature request a new feature, enhancement, or improvement
Projects
None yet
Development

No branches or pull requests

2 participants