Skip to content
This repository was archived by the owner on Sep 25, 2021. It is now read-only.

Fix behavior when tapping on a same-page anchor link#103

Open
domchristie wants to merge 1 commit intoturbolinks:masterfrom
domchristie:same_page_anchors
Open

Fix behavior when tapping on a same-page anchor link#103
domchristie wants to merge 1 commit intoturbolinks:masterfrom
domchristie:same_page_anchors

Conversation

@domchristie
Copy link
Copy Markdown

This pull request aims to mirror the code in turbolinks/turbolinks-ios#126, to fix the behaviour when tapping on a link to an anchor on the same page.

Skip the visit and scroll to anchor if location is a same-page anchor.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant