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

GoogleMaps Messing Up Modal on Ionic5

$
0
0

@iconio wrote:

Hey guys, I’m having issues with the GoogleMaps and the new ‘swipe to close’ modal.
My issue is that the class _gmaps_cdv_ that gets attached to the body by Google Maps is changing the background color to white. The effect looks to weird and bad.

I’ve tried pretty much everything…

  1. Removing the class once the modal gets loaded. That will make the map disappear and take whatever color I’ve set to the background.
  2. Removing the class once the modal gets loaded and attaching it again once the modal gets destroyed. Same result as previous
  3. Destroying the map on the ionViewWillLeave() and recreating using the ionViewWIllLoad(). Same result as previous.

Any tips? Is this a bug?

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



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