react-leaflet-google-layer icon indicating copy to clipboard operation
react-leaflet-google-layer copied to clipboard

Portion of Google Layer not loading when width changes in firefox

Open antonisgkamitsios opened this issue 3 years ago • 2 comments

Hello, I am facing an issue with resizing in a firefox browser. More specifically when the map loads in a small screen size and I resize it to a larger one, the map seems that it hasnt loaded yet. I supply a screenshot bellow: image

You can use the cosesandbox provided in the npm's section 'Basic usage example': https://codesandbox.io/s/basic-usage-with-react-leaflet-v3-vx8fd?file=/src/index.tsx Simply load the map in a small screen size and start increasing the window's height. I am using Firefox developer Edition version: 101.0b7

antonisgkamitsios avatar May 16 '22 09:05 antonisgkamitsios

Found out that disabling 'visibility: hidden' from .leaflet-google-mutant seems to solve the issue, but i have no clue if that generates more problems

antonisgkamitsios avatar May 16 '22 09:05 antonisgkamitsios

@angam97 Hi, let's wait for the answer for the question you posted here: https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant/-/issues/141

aviklai avatar May 16 '22 12:05 aviklai