Open Nuanda opened 8 years ago
@kammerer Tomasz, could you try to debug this terrible problem, in a bit of spare time ;)? Most of the time running invalidateSize helps (I think) but this should probably not be required in a normal map operation.
I need help on this one. Anyone? ;) @mkasztelnik @kammerer
I will have a look.
I have noticed it before, when charts were shown in the sidebar, but now I can't reproduce it anymore.
It still shows on my phone when I use the menu button to bring the sidebar forward, then to go back. There usually is a stripe of grey that does not render map tiles (or perhaps the tiles are rendered behind the background)?
Ok, I found I can reproduce it by opening the sidebard, scrolling some, and closing it again.
Could be connected to https://github.com/Leaflet/Leaflet/issues/4069
After you play a bit on a phone with it, esp. when bringing up the side panel and going back to the map again, it tends to "shift" horizontally and more and more grey space is shown. Investigate and fix ;).