-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doesnt work in flex div #40
Comments
Hi @thewayur, Firstly, sorry for the too late reply 😕 I couldn't see any javascript declaration in your fiddle. |
haha its ok, my bad too :D check link again : http://jsfiddle.net/5ochqtjy/ |
Hi @thewayur! HTML: <article id="container">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eget vestibulum augue.
...
<a href="#target" class="js-trigger" id="target" data-mt-duration="300">Trigger</a>
</article> JS: const moveTo = new MoveTo({
container: document.getElementById('container'),
}); Note that the JS: const moveTo = new MoveTo({
container: document.getElementById('container'),
duration: 300
}); Yet, there is still a different bug. The duration option is not working properly in the given example. With the number |
i tried it in this http://jsfiddle.net/5ochqtjy/
but it doesnt scroll the article.
any solution?
The text was updated successfully, but these errors were encountered: