Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Full width map stops scroll on mobile?



Site URL: https://bulldog-circle-xzyr.squarespace.com/locations

I've got the page mostly how I want it, however I'm running into some hiccups. I'm not a coder by any means, and barely know CSS/HTML. I know enough to get my hands dirty.

The problem I have is that when you view the page on mobile, and you scroll down enough to the Google map, it interrupts the user's ability to continue scrolling, rather it just moves the map around. Is there any way to allow people to keep scrolling and still interact with the locations on the map? Maybe use two fingers to navigate and zoom?

I saw a piece of code somewhere that said you can maybe use this:

var map = L.map('map', { dragging: !L.Browser.mobile, tap: !L.Browser.mobile });

But I'm not sure where or how to incorporate it, or if it would even work with what I have currently.

Additionally, for bonus points, there is some padding occurring on the right side of the web page that I can't figure out how to get rid of. Any tips for that?

Link to comment
  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...