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

Window scroll event stops firing after navigation #8250

Closed
StephenCleary opened this Issue Jul 30, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@StephenCleary

StephenCleary commented Jul 30, 2015

If I navigate to a page and then navigate back, the window scroll event no longer fires.

Fiddle here: https://jsfiddle.net/e2rkozjf/

Before navigation, I can scroll (logging events to the console). After navigating to a different page and back, the scroll event no longer fires.

In my real-world app, this breaks Waypoints.

@arschmitz

This comment has been minimized.

Show comment
Hide comment
@arschmitz

arschmitz Jul 30, 2015

Member

@StephenCleary Thank you for reporting this this is indeed a bug in our scrollstart / stop events we are not properly unbinding. We will get this fixed ASAP however for version 1.4.x you can use this workaround http://jsbin.com/bapeno/edit?html,js,console,output

simple add the js in that file in to override the current method and everything should work as expected.

Member

arschmitz commented Jul 30, 2015

@StephenCleary Thank you for reporting this this is indeed a bug in our scrollstart / stop events we are not properly unbinding. We will get this fixed ASAP however for version 1.4.x you can use this workaround http://jsbin.com/bapeno/edit?html,js,console,output

simple add the js in that file in to override the current method and everything should work as expected.

@arschmitz arschmitz added this to the 1.5.0 milestone Jul 30, 2015

@arschmitz arschmitz self-assigned this Jul 30, 2015

@StephenCleary

This comment has been minimized.

Show comment
Hide comment
@StephenCleary

StephenCleary Jul 31, 2015

That fixed it perfectly for me. Thanks a million!

StephenCleary commented Jul 31, 2015

That fixed it perfectly for me. Thanks a million!

apsdehal added a commit to apsdehal/jquery-mobile that referenced this issue Jun 22, 2016

apsdehal added a commit to apsdehal/jquery-mobile that referenced this issue Jun 22, 2016

apsdehal added a commit that referenced this issue Jun 23, 2016

@apsdehal apsdehal closed this Jun 23, 2016

arschmitz added a commit to arschmitz/jquery-mobile that referenced this issue Jul 4, 2016

arschmitz added a commit that referenced this issue Jul 4, 2016

@apsdehal apsdehal self-assigned this Aug 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment