Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Problem to call setRoot in my Alert callback

$
0
0

I'm actually doing the same with a confirm alert, it's due to transitioning to the new page before closing the alert, my timeout is about 200 ms.

I avoid using any alert before transition or even too son after page load, i wrapped the nav.present(alert) in 50 ms delay to avoid that kind of error when transitioning to new page if that one can show an alert from start.

It actually looks to be with the same purpose as yours, to send the user to LoginPage.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>