brunob / leaflet.fullscreen

Leaflet.Control.FullScreen for Leaflet
https://brunob.github.io/leaflet.fullscreen/
MIT License
380 stars 109 forks source link

TypeError: Cannot read property 'fullscreenchange' of undefined #96

Closed SpawnAtis closed 2 years ago

SpawnAtis commented 2 years ago

Hi .When I upgraded from v1.6.0 to 2.0.0 I got this error. It is reproducible only in Jest unit tests TypeError: Cannot read property 'fullscreenchange' of undefined

brunob commented 2 years ago

So you can't reproduce it in an example file ? If this happen only in a specific test environment, i can't help you without more information.

brunob commented 2 years ago

No feedback, closing, feel free to comment if needed.

AMarquis1 commented 2 years ago

@SpawnAtis I'm having the same issue, how did you fix it? image