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

DOM access in onPageDidEnter

$
0
0

This bug seems to imply that your suspicions are correct- if the DOM is not fully loaded, the radius can't be calculated correctly.

You can try one of these angular lifecycle states. I'm not familiar enough with them to say with certainty where the onPageDidEnter state fits in with all of the Angular ones though, so you may still have the same problem.

ngAfterViewInit
ngAfterViewChecked


Viewing all articles
Browse latest Browse all 229513

Trending Articles



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