-
Notifications
You must be signed in to change notification settings - Fork 896
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
Prevent pagination back to top #711
Comments
I have got the same problem. Did you solve it? |
I patched the sources with e.preventDefault(); |
Another solution is to define the new List('my_list', { …
pagination: {
item: '<li><a class="page" href="#my_list"></a></li>'
}
}); |
If anyone else comes across this issue you can just add a forward slash after the anchor to prevent it from jumping to the top.
|
see #727 for a more elegant solution using Also @metalgigio – could we close this ticket? I know one should probably adapt this with a pull request but since it seems to have worked for you, we could clean up the issue queue like this. [Edit:] Ok, there's even a pull request fixing this GH-750 – suppose this would render issues like these obsolete |
Hi,
i just upgraded from 1.5.0 to 2.3.1.
I noticed than now when i click on a pagination's link it fires the # link so it goes to top.
There's a way to prevent it or setting a different anchor? My pagination is on a table near the footer so jumping on top is a little weird for users.
Thanks in advance
The text was updated successfully, but these errors were encountered: