Closed NameFILIP closed 1 year ago
v5 is no longer actively maintained. Performance issue is one of the reasons we moved to v7.
Looks like the issue is caused by adding transition properties to the _onWheel
handler https://github.com/visgl/react-map-gl/blob/5.3-release/src/utils/map-controller.js#L402. Would it make sense to remove them to make this version at least useable?
Description
Zooming in/out (using mouse wheel or trackpad) is extremely slow on
5.3.21
.Note: Adding
transitionDuration={0}
fixes the issue.Expected Behavior
No response
Steps to Reproduce
transitionDuration={0}
and try zooming again.Environment
Logs
No response