[Migration] Change the scroll behavior of the map #13
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original https://git.mowoe.com/reverend/lostplaces-backend/issues/13 by reverend from Sat, 12 Sep 2020 15:00:47 CEST
Currently, when scrolling down a site with the OSM Map integrated (i.e. Place Detail) the scrolling gets interrupted by the map
Comment by Commander1024 from Tue, 22 Sep 2020 14:28:05 CEST
OpenLayers updated to 6.4.3 in
106ef6dac8
Now the latest code-snippets from the docs should work.
These 2 are suitable ways to go:
https://openlayers.org/en/latest/examples/page-scroll.html
https://openlayers.org/en/latest/examples/two-finger-pan-scroll.html
Comment by Commander1024 from Tue, 22 Sep 2020 18:12:20 CEST
Fixed in:
dd58c76aba
Map now only zooms/pans on focus.