-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Race condition when removing the map during a pan animation #6115
Comments
It's very hard to know what's going on without a reproducible example. Can you try on a controlled environment, seeing if panning the map around makes this error show up on Safari? |
I found a way to reproduce. I updated the issue
|
Possible fix is to change map/Map.js
to
because this._mapPane is possible undefined |
@arnarp Could you please try if adding if (this._panAnim) {
this._panAnim.stop();
} to the |
Wait, this should already be happening since #5876 😕 |
How to reproduce
What behaviour I'm expecting and which behaviour I'm seeing
The text was updated successfully, but these errors were encountered: