asscroll icon indicating copy to clipboard operation
asscroll copied to clipboard

URL Anchors not working in safari

Open coolemur opened this issue 2 years ago • 0 comments

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

coolemur avatar Sep 22 '21 07:09 coolemur