rampatra/animatescroll.js

Calculation from top

Closed this issue · 1 comments

Hello,
I am using the plugin for a dynamic search list with a dropdown block. I wanted to bring the dropdown block to the user view perfectly. So I used your plugin and it works fine. But each time it goes to the top and then returns to the block. Is there a way to overcome this.

I guess you have # in your anchor tag, thats why its behaving in such manner. A quick fix would be to replace that with #;.

If this doesn't work then please share your code here.