Closed daun closed 1 year ago
Description
doScrollingRightAway
getCurrentUrl()
visit.to.url
resolveUrl
Before
https://github.com/swup/scroll-plugin/assets/22225348/2ba1acdf-8e7e-49aa-9700-8ce97b2a842c
After
https://github.com/swup/scroll-plugin/assets/22225348/e4b12b66-3c94-4666-99ba-155911abf4b8
Checks
master
npm run lint
Description
doScrollingRightAway
option is brokengetCurrentUrl()
, which is still the old URL before the transitionvisit.to.url
solves the issueresolveUrl
when passing in the URL, it's resolved inside the helper again anywayBefore
https://github.com/swup/scroll-plugin/assets/22225348/2ba1acdf-8e7e-49aa-9700-8ce97b2a842c
After
https://github.com/swup/scroll-plugin/assets/22225348/e4b12b66-3c94-4666-99ba-155911abf4b8
Checks
master
branchnpm run lint
)