-
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
bug: <ion-input type="date"> completely freezes mobile safari when switching between two inputs #25745
Comments
Thanks for the issue. Does this happen with the native text input |
It does not happen with the native inputs. I actually put a couple of native inputs in the reproduction case to play with — it seems to be specifically when tapping another ion-input while the datepicker is up. I did notice a behavior difference that might be relevant. Clicking between the native inputs, the datepicker popup gets closed when clicking on the next input, and you have to click again to open the new input. With the ion-inputs, the popup window is opened immediately when clicking the second input. Perhaps iOS isn't a fan of that? |
Thanks for the additional info. There are a couple things going on here.
I can add logic to exclude |
Thanks for the issue. This has been resolved via #25749, and a fix will be available in an upcoming release of Ionic Framework. |
That's awesome, thanks! |
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. |
Prerequisites
Ionic Framework Version
Current Behavior
On Mobile Safari (tested on iPhone 13 Pro), clicking between multiple elements can lock up the browser.
Expected Behavior
Clicking between multiple elements shouldn't have any negative effects.
Steps to Reproduce
I have created a Stackblitz with repro directions that you can open on Mobile Safari here:
https://ionic6-angular13-2zcq7v.stackblitz.io
You can view the source and edit here:
https://stackblitz.com/edit/ionic6-angular13-2zcq7v
Code Reproduction URL
https://github.com/cg-roling/ionic6-datetime-repro
Ionic Info
The stackblitz I forked from seems to have some dependency issues, I wasn't able to successfully run
npm install
locally. If necessary I can start over with a fresh ionic project. This reproduces easily in a production app as well.Additional Information
No response
The text was updated successfully, but these errors were encountered: