TylerBarnes / gatsby-plugin-transition-link

A link component for page transitions in gatsby
537 stars 70 forks source link

fix: change hash offset from getBoundingClientRect() to offsetTop #191

Closed yongkyali closed 4 years ago

yongkyali commented 4 years ago

Fixing issue which getBoundingClientRect top values to be incosistent (containing negative value).

yongkyali commented 4 years ago

I am new to PRs, this is the linked issue URL https://github.com/TylerBarnes/gatsby-plugin-transition-link/issues/190. Will do link the issue ASAP when I found out how 😅😅

TylerBarnes commented 4 years ago

Ahh, thank you! I can see how this would be problematic now. Sorry for the extremely delayed response. Its been really hard to find time to work on this package

TylerBarnes commented 4 years ago

published in gatsby-plugin-transition-link@1.18.3