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

Fix internal page link errors from mobile navigation #3059

Merged
merged 4 commits into from Jun 6, 2019

Conversation

thisisdano
Copy link
Member

@thisisdano thisisdano commented May 15, 2019

Preview

This PR constrains the scope of the NAV_CONTROL const in navigation.js to buttons only — specifically button.${PREFIX}-nav__link. This means that any toggle actions will only apply to actual toggle triggers and not to any links, internal or external.


Fixes #3058

@RobAWilkinson
Copy link

@thisisdano I've been bumping up against that bug as well, anything you're missing in this PR that you might need help with?

@thisisdano
Copy link
Member Author

@RobAWilkinson Does this fix address the bug successfully? It works for me, but I'd been awaiting confirmation from a colleague.

@thisisdano
Copy link
Member Author

Happy to merge and release it asap

@thisisdano thisisdano marked this pull request as ready for review June 6, 2019 16:31
@thisisdano
Copy link
Member Author

Confirmed that this is working. Will merge.

@thisisdano thisisdano merged commit c8f5e24 into develop Jun 6, 2019
@thisisdano thisisdano mentioned this pull request Jun 7, 2019
@mejiaj mejiaj deleted the fix-anchor-targets branch February 26, 2021 15:54
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

Successfully merging this pull request may close these issues.

Mobile navigation breaks when using same-page anchor links
2 participants