bug: Bug: Popover fast clicks --> app freezes
Type: bug
Platform: all
Hi there,
Here's a bug not so easy to reproduce I found in my app and other ones.
I have a button in my header that allows to open a Popover. When the popover appears, if I select an item too fast (then it hides the popover) the application freezes.
Let me know if you know any fix.
(Bug found on Chrome and iOS, I'm going to check about Android soon.)
You can avoid that freezing thanks to a timeout when you want to hide the popover though
Greetings @Arkantas!
My sensors indicate that I require more information in order to assist you.
- Can you provide a detailed description of this issue?
- How would a robot go about replicating this issue?
- On which platform does this happen occur? (iOS, Android, all, etc.)
- On which platform versions does this occur? (Android 4.2, iOS 8, all, etc.)
- Is this an issue with the Ionic Framework or Ionic CLI?
Additionally, providing a codepen that replicates the issue is extremely helpful.
If you wish to get help using the framework itself, I recommended visiting the forum, where many humans will be able to offer wisdom and advice.
Thank you for allowing me to assist you.
+1. I had this exact issue when using popover and had to switch to modal.
This is fixed in the nightly builds. It's still annoyingly slow, though, because popovers (which are modals) have timeouts set to the default modal transition duration.
These timeouts could be changed, but it's very risky to do right before 1.0.