Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48977

Page content scrolls back to the top after modal is dismissed

$
0
0

I have a modal that displays information and gets the user to select options. The main page content then scrolls to the correct point based on that selection. This much works.

However, when the modal is dismissed, the page scrolls back to the top.

I even tried doing the scrolling in the function called by onDidDismiss, hoping I could get it done after the modal does that weird scrolling back to the top, but it seems to happen after that.

Any idea why the modal is behaving like this? I also noticed similar behavior with an ionpicker. Or is there a way to do the scrolling after the modal does its own scrolling (ie, after onDidDismiss is called)?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48977

Trending Articles



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