Skip to content

Conversation

@sammckay10
Copy link

Setting scrollTopOffset to 0 would not scroll user back to the top of the page when changing route because when checking for scrollTopOffsets value, 0 would imply there wasn't one (falsy).

Setting scrollTopOffset to 0 would not scroll user back to the top of the page when changing route because when checking for scrollTopOffsets value, 0 would imply there wasn't one (falsy).
@sammckay10
Copy link
Author

Any chance of merging this?

@biirus
Copy link

biirus commented Apr 18, 2020

Yep, it would be nice to have this fix merged.

@joewoodhouse
Copy link

@jthoms1 can we get this merged?

@kirillgroshkov
Copy link

looks like a legit fix

rwaskiewicz added a commit that referenced this pull request Jun 8, 2022
this commit temporarily pins the stencil version to v2.13.0.
in v2.14.0, we upgraded typescript to v4.5.4, which is now 
causing issues with the typings found in `@stencil/router` v1
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.

4 participants