Skip to content
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

IE 11 bouncing of the fixed div when using the mouse scroll wheel #35

Open
vandanagopal opened this issue Mar 16, 2016 · 0 comments
Open

Comments

@vandanagopal
Copy link

Hi,
Great plugin, thanks. I faced an issue where in IE, the div that I have fixed bounces when I scroll using my mouse scroll wheel. It only bounces when I scroll first from the top of the page down, but after that is fine. After I return to the top of the page and try to scroll again, it bounces.
I debugged your code and came up with a modified fix. I have attached it here.
I modified the _onscroll function to detect if the scrollTop=0 and if the user is scrolling down.
Also, saw that removing this line from the _start function
$(window).bind('scroll', this._proxied_onscroll(false));
it worked just as well without it.
fixto.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant