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

perf: Modal remove unnecessarily calls ionicClickBlock

Open MartinMa opened this issue 11 years ago • 22 comments

Type: perf

Platform: all

Upon removal of an Ionic modal the method ionicModal#hide is always called (Even when no modal is visible). It shows the click-block div for a short amount of time by calling $ionicClickBlock.show(600);.

This breaks the responsiveness of the app for a short amount of time, because it can't receive any touch or mousedown events.

MartinMa avatar Sep 18 '15 13:09 MartinMa

Hi @danbucholtz thanks for your effort and that you take the time to understand this issue. I hope it is clear now. I can only second what @solarsaturn9 has said.

MartinMa avatar Apr 16 '16 05:04 MartinMa

All,

The PR made it into 1.3. Please let me know if you have any questions, etc.

Thanks, Dan

danbucholtz avatar Apr 18 '16 16:04 danbucholtz