Open karngenie opened 6 years ago
I have the same issue in Angular. If I follow this template where tabs are lazy loaded, it works fine no matter which tab you put the map in. There may be a similar template for Vue.
Had a similar issue, not Vue or Angular just Nativescript (XML and JS). A potential workaround is to set the androidOffscreenTabLimit
flag with an appropriate value for the TabView to force the tab to load, even if it is not visible.
I have the same issue on ios, can you provide a bit more detail for the workaround? @jafaircl @horia-alungulesei Thanks!
@jafaircl your link is not valid any more. Care to share again? And I have this issue. I am using Angular 8, NativeScript, Mapbox in Tabview. It just not showing up.. HELP! UPDATE I used like sugested @karngenie selectedIndex="2" or selectedIndex="1" but my application crashes..
When i add the mapbox on the second TabViewItem (and i use androidTabsPosition=Bottom for no swipe). The map not is loaded (the zone is white)
if I set the value of selectedIndex to 1, it works
Any idea ?