Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Amir-A-M

locomotive scroll data-scroll-sticky not working

Go to solution Solved by Amir-A-M,

Recommended Posts

Hello @Amir-A-M , just add data-scroll-container to your div at top 
 


<div class="smooth-scroll" data-scroll-container>

 

  • Like 1
Link to comment
Share on other sites

  • Solution
4 hours ago, Ali Manuel said:

Hello @Amir-A-M , just add data-scroll-container to your div at top 
 



<div class="smooth-scroll" data-scroll-container>
 

 

Thanks but it still doesn't work for me.

 

By checking the file below
  locomotive-scroll / blob / master / docs / index.html
I noticed the data-scroll attribute.
By adding it. It works well

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×