Mapbox-gl Map got truncated

Mapbox-gl got initialized and then tap a button nav.push(xxx) and then from xxx.ts nav.pop().



Then the map got truncated or not full screen.

The solution is to call this.map.resize with setTimeout() 200-250ms would do. 

Comments