OpenBeta / open-tacos

Rock climbing route catalog (openbeta.io)
https://openbeta.io
GNU Affero General Public License v3.0
110 stars 111 forks source link

bug: Page gets stuck on map when using scroll wheel #1107

Closed btmccord closed 4 months ago

btmccord commented 4 months ago

Current Behavior

When scrolling a area page with the mouse scroll wheel the page stops scrolling (up or down) once you reach the map. At this point using the mouse wheel results in a "use crtl+scroll to zoom the map" overlay on the map

Expected Behavior

I should still be able to scroll up and down the page with the mouse wheel when the map is on screen.

Reproduction

-Go to an area page -Scroll with a mouse wheel down to the map -Try to scroll back up or continue down

vnugent commented 4 months ago

The snapping css is probably defined incorrectly.

Docs

Code

btmccord commented 4 months ago

This actually seems to only affect Firefox. Other browsers seem to ignore the snapping. What about just removing the snapping?

vnugent commented 4 months ago

This actually seems to only affect Firefox. Other browsers seem to ignore the snapping. What about just removing the snapping?

Sure. We can live without it.