Closed gjvoosten closed 4 months ago
@brunob Anything I can do to help get this merged and released?
@brunob Anything I can do to help get this merged and released?
Thx for the issue and the PR, just let me a couple of days to find a moment to review it.
I hate to ask (again), @brunob, but any progress on this?
The fix seems good, but i have a doubt on performance impact of calling invalidateSize()
every times. Any thoughts @BePo65 ?
The fix seems good, but i have a doubt on performance impact of calling
invalidateSize()
every times. Any thoughts @BePo65 ?
Not sure what you mean by "every time". The calls to invalidateSize()
only happen upon entering full-screen (via the button), and upon exiting full-screen (both via the button and via the Escape key).
IMHO @gjvoosten is right: invalidateSize()
should be triggered only, when the fullscreen state changes. So I do not see any performance penalties.
Nice, let's merge this :)
published with version 3.0.2, thx again @gjvoosten !
Fixes brunob/leaflet.fullscreen#121