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

to top button - cannot use href #top inside sapper #14

Closed
phelbas opened this issue Dec 14, 2020 · 0 comments
Closed

to top button - cannot use href #top inside sapper #14

phelbas opened this issue Dec 14, 2020 · 0 comments

Comments

@phelbas
Copy link

phelbas commented Dec 14, 2020

Due to the way svelte + sapper fails to work right with href hash anchors, the "go to top" arrow at the bottom of the viewer should fire javascript window.scrollTo(0, 0); code instead of using a #top href

@phelbas phelbas changed the title to to top button - cannot use href #top inside sapper to top button - cannot use href #top inside sapper Dec 14, 2020
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

No branches or pull requests

1 participant