Open mateusz-kawka opened 12 months ago
Hmm, yeah, weird — I can confirm that popup is lagging compared to marker, even though internally their position is updated with the same mechanism. Will investigate.
Currently 3.4.0 but unfortunately see no differences ;/
mapbox-gl-js version: currently 3.0.0 But I've had this problem for over a year, before I had 2.15.0 browser: i test it on latest chrome, firefox & safari ( desktop & mobile )
Link to Demonstration
Here is my example https://github.com/mapbox/mapbox-gl-js/assets/76514277/57b5625b-c666-4c3e-b3c9-cbc55f186cff but same problem is on docs example https://docs.mapbox.com/mapbox-gl-js/example/popup/ ( on my video im using
mapbox-gl-animated-popup
but i test default popup too and no difference) Probably related to https://github.com/mapbox/mapbox-gl-js/issues/4670 I tried to keep only 1 layer, 1 marker and remove any elements from popup except 'paragraph' and map works smooth and fast but popup still has lagExpected Behavior
no popup lags on animations like flyTo and map move
Actual Behavior
lags
Greetings!