Jump to content

Snap scroll is a bit too touchy, how to fix?

Recommended Posts

Site URL: https://www.brayand.co/new-services

I implemented a snap scroll so users immediately get taken to the next section but it is a little too snappy. If I scroll too hard it will take me to the bottom of the page, is there a way to edit the CSS so no matter how aggressive the scroll is it only goes to the next section?

 

 

Here is the CSS:
 

html, body {

  -ms-scroll-snap-type: y mandatory;
  scroll-snap-type: y mandatory;
  
  }

#collection-62e2b4fc734a5b22cd727f49 .page-section {

  scroll-snap-align: start;
  
  }
 

Link to comment
  • 1 year later...
  • Replies 1
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.