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)?