ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: Bug: Popover fast clicks --> app freezes

Open oliveremi opened this issue 11 years ago • 4 comments

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.)

oliveremi avatar Apr 10 '15 12:04 oliveremi

You can avoid that freezing thanks to a timeout when you want to hide the popover though

oliveremi avatar Apr 10 '15 12:04 oliveremi

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.

Ionitron avatar Apr 16 '15 13:04 Ionitron

+1. I had this exact issue when using popover and had to switch to modal.

buunguyen avatar Apr 17 '15 02:04 buunguyen

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.

ajoslin avatar Apr 17 '15 16:04 ajoslin