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

Consideration: cross page scrolling work #18

Open
tw2113 opened this issue Aug 24, 2018 · 0 comments
Open

Consideration: cross page scrolling work #18

tw2113 opened this issue Aug 24, 2018 · 0 comments
Milestone

Comments

@tw2113
Copy link
Member

tw2113 commented Aug 24, 2018

Do we want to make this work with hashes on separate pages instead of just within the current page?

If you do decide to fix it this should do the trick on line 34:

if ( ! $( app.hash ) )

change to:

if ( ! $( app.hash ) || location.pathname.replace(/^\//,'') != this.pathname.replace(/^\//,'') )

Original request: https://wordpress.org/support/topic/breaks-between-pages-2/

@tw2113 tw2113 added this to the 1.0.0 milestone Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant