I heard you like weird bugs?
So I noticed this yesterday, if someone faced it or have an id, that would be really appreciated
First, this happens only in Safari/iOS
I’ve got the following structure:
main page -> detail page which use component which use components where one is containing a google map
In the map component I create the map like
let mapOptions: google.maps.MapOptions = {
center: position,
zoom: this.zoom,
scrollwheel: false,
draggable: false,
disableDoubleClickZoom: true,
streetViewControl: false,
clickableIcons: true,
fullscreenControl: true
};
this.map = new google.maps.Map(this.superMapElement.nativeElement, mapOptions);
The problem
I open main page, navigate to detail (navController.push), go back to main (navController.pop) => No problem
But then when do it again, I open main page, navigate to detail (navController.push), go back to main (navController.pop) => The back process occurs but instead of rendering again the main page I land on a blank page. When I look at the DOM, I still see the detail elements so I kind of have the feeling that someone the detail elements/components could not be destroyed
No error in the console
Is that enough weird?
Ah and yes, if I remove the map component from the detail page, I don’t face the problem anymore
Disclaimer: I don’t use the cordova-plugin-googlemaps
plugin. This might not affect app using the plugin (even I didn’t tried)