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

URL Anchors not working in safariΒ #66

@coolemur

Description

@coolemur

<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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions