Bus1n Posted November 1, 2023 Share Posted November 1, 2023 Please help me solve the problem. When you click on an item in the menu, it will not scroll enough to the target at a speed of 0.5 See the Pen abXZYKv?editors=1001 by tytskyi (@tytskyi) on CodePen Link to comment Share on other sites More sharing options...
Solution mvaneijgen Posted November 1, 2023 Solution Share Posted November 1, 2023 Hi @Bus1n, you're scrolling the scrollSmooth element, not the body, so you have to target that. I'd found the solution via this topic, maybe there is some more insight that helps you in your project. Hope it helps and happy tweening! See the Pen RwvRyVB by mvaneijgen (@mvaneijgen) on CodePen 3 Link to comment Share on other sites More sharing options...
Bus1n Posted November 1, 2023 Author Share Posted November 1, 2023 It works! Thank you very much @mvaneijgen ) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now