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

Bug: ionic 2 dismiss alert from code breaks navigation

Open luchillo17 opened this issue 10 years ago • 7 comments

I have a component with an improvised busy indicator, i have to close the alert upon navigation to next component or the alert will be stuck there until we go back to the component and close it manually, if i dismiss it too late it shows a black screen where it should be the animation, if too soon most of the time it won't even transition to next component, next i show three steps in the app when it does transition:

  1. stage 1, starting point: start
  2. stage 2, a black screen shows between the animation: some_times
  3. stage 3, next component nextcomponent

luchillo17 avatar Jan 14 '16 22:01 luchillo17

Aaand some times i gets stuck in stage 2, a black screen that i fix either reloading or sliding to show the sidemenu and navigating to the same component (basically seting root to that component): stuck

luchillo17 avatar Jan 14 '16 22:01 luchillo17

+1

SkogDev avatar Feb 03 '16 21:02 SkogDev

+1

mauricionarcizo avatar Feb 15 '16 15:02 mauricionarcizo

@adamdbradley how will ionic face this issue as is related to the time it takes to the component to transition? my workaround for now is a custom element that just resemble the Alert component but that is always present in the app.html side by side with the nav-component, relate to my gist: Luchillo's Busy indicator backup solution

luchillo17 avatar Feb 15 '16 16:02 luchillo17

+1

privetr avatar Mar 07 '16 08:03 privetr

Please see https://github.com/driftyco/ionic/issues/5095#issuecomment-195700251

adamdbradley avatar Mar 12 '16 09:03 adamdbradley

Hey! I am going to close this issue as a duplicate of #5095 . Please feel free to comment back if you feel this one should be reopened. Thanks!

jgw96 avatar Apr 21 '16 15:04 jgw96