Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70778

Ion content vertical scroll disabled after loading map

$
0
0

@theHamster wrote:

I’ve got an ion-list on my homepage that has enough items in it to require vertical scroll. The scroll works fine.

From the homepage, I’ve got a nav push to a map page where I’m loading a Google map into a containing div. The map works fine.

When navigating back from the map page to the homepage, the scroll on the homepage content stops working. Note: It’s fine in the browser ($ionic serve), but disabled for some reason on iOS (real device running iOS 13). Other gestures like tap still work on the homepage, it’s just scroll that’s frozen/disabled.

For testing, I removed the map div on the map page and tested navigating from home > map > home which gave no problem (the scroll worked fine). Scroll is only disabled after loading the map into the map page and then going back.

I can imagine why normal page scroll might be disabled when loading a map into a page (as you want to scroll the map with your finger and not the page), but I can’t imagine why, when leaving the page and destroying the map, scroll is disabled on a different page/globally.

Has anyone seen this before? Any idea what might be causing the problem?

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70778

Trending Articles



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