-
Notifications
You must be signed in to change notification settings - Fork 578
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
Incorrect behavior after home/end key trigger #368
Comments
@unbrokenclayman you can use this code to fix that problem: |
That way doesn't working for me and causes even more problems: after I press home/end keys several times it may stops somwhere at the middle of page. |
Do you have an animation on the scroll? The setTimeout function on my example must have longer duration than the scroll duration. If still you have issues, you could try to prevent the default action of home/end keys. |
Nope, just native chrome scrolling. I trying to set time around 1000ms, which should be more than enough, but without success.
Why should'nt plugin set active slide properly itself after scrolling to top or bottom? |
I'm not the creator of this plugin :D |
Adding code like this at the end of plugin keyHandler function helps:
|
Ah, there already was a pull request #203 |
Let's say we have 10 slides and scroll to the last, then press Home, getting to the first one, but now if we do scrolling upside, we will get to the 9th slide.
Same in reverse direction.
The text was updated successfully, but these errors were encountered: