Open mark-kraemer opened 4 years ago
Describe the bug While using turbolinks animate, the normal browser behavior of linking a specific element on the page from the url breaks
To Reproduce Steps to reproduce the behavior:
document.addEventListener('turbolinks:load', () => TurbolinksAnimate.init())
#some-id
TurbolinksAnimate.init()
Expected behavior visiting http://your-site.com#some-id should scroll the element with id="some-id" should work by default in browsers
id="some-id"
Desktop (please complete the following information):
Unfortunately, I don't think that I'll have time to look into this in the next couple of weeks. I'm always happy to review pull requests though 🙂.
Describe the bug While using turbolinks animate, the normal browser behavior of linking a specific element on the page from the url breaks
To Reproduce Steps to reproduce the behavior:
document.addEventListener('turbolinks:load', () => TurbolinksAnimate.init())
run in my#some-id
down the pageTurbolinksAnimate.init()
from theExpected behavior visiting http://your-site.com#some-id should scroll the element with
id="some-id"
should work by default in browsersDesktop (please complete the following information):