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

gatsby-plugin-catch-links: do not catch dynamically created anchor links to hash on IE #3053

Conversation

TomiTakussaari
Copy link
Contributor

Continuation of #2994

IE seems to sometimes miss anchor.pathname if link is dynamically created and points to #fragment.

jsFiddle: https://jsfiddle.net/n6ss7vkn/2/

Chrome:
screen shot 2017-11-28 at 14 53 20

IE11
screen shot 2017-11-28 at 14 52 40

…ref="#anchor") on IE

IE seems to sometimes miss anchor.pathname if link is dynamically created and points to #fragment

Fiddle: https://jsfiddle.net/n6ss7vkn/1/
@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit e4d27b2

https://deploy-preview-3053--gatsbygram.netlify.com

@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit e4d27b2

https://deploy-preview-3053--using-drupal.netlify.com

@KyleAMathews
Copy link
Contributor

Huh, pretty interesting. Thanks for the fix!

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.

3 participants