Ionic: map disappearing and/or unexpected animation on tab switching
See original GitHub issueI’m submitting a …
- question
- any problem or bug report
- feature request
If you choose ‘problem or bug report’, please select OS:
- Android
- iOS
cordova information:
com.googlemaps.ios 2.6.0 "Google Maps SDK for iOS"
cordova-plugin-device 2.0.1 "Device"
cordova-plugin-googlemaps 2.2.8 "cordova-plugin-googlemaps"
cordova-plugin-ionic-keyboard 2.0.5 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 1.1.16 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-whitelist 1.3.3 "Whitelist"
"@ionic-native/core": "4.5.3",
"@ionic-native/google-maps": "^4.6.0",
Current behavior: When switching the tab in an Ionic app and then switching back to the tab with the map, the map sometimes disappears or does an unexpected animation from top left to bottom right. If you scroll in the other tab the map always disappears. After switching tabs a couple of times the map re-appears with the unexpected animation. See the following screen capture and demo code.
Expected behavior: The map not disappearing at least, best case no animation.
Screen capture or video record: http://sharedby.manuel-heidrich.com/qgdiFE/dP4alTDAOU
Related code, data or error log (please format your code or data): https://github.com/mahnuh/cordova-google-maps-issue-demo
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:18 (9 by maintainers)
@wf9a5m75 Is it possible to confirm what version this was merge in to master with?
Please reinstall the plugin from the multiple_maps branch.
The map is disappeared problem should be gone.![2166](https://user-images.githubusercontent.com/167831/37873124-99b6e130-2fca-11e8-8af9-ab680b1c1a5d.gif)