Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

URL Anchors not working in safari #66

Open
coolemur opened this issue Sep 22, 2021 · 0 comments
Open

URL Anchors not working in safari #66

coolemur opened this issue Sep 22, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@coolemur
Copy link

<a href="#my-section">Scroll to link</a>
...
<section id="my-section"></section>

Expected: after link is clicked, page should scroll to section.

This works in Chrome using asscroll.js, but doesn't work in Safari (Version 14.1.2 (16611.3.10.1.6))
Is this a bug, or am I missing something?

I know it can be implemented using asscroll.scrollTo, but this doesn't look clean.

@ashthornton ashthornton self-assigned this Sep 27, 2021
@ashthornton ashthornton added the bug Something isn't working label Sep 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants