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

Fix ToC scroll abort #37

Merged
merged 4 commits into from
Mar 12, 2023
Merged

Fix ToC scroll abort #37

merged 4 commits into from
Mar 12, 2023

Conversation

janosh
Copy link
Owner

@janosh janosh commented Mar 12, 2023

Closes #36.

Looks like the best workaround currently available for Chrome's inability to handle multiple simultaneous scroll events is a hacky setTimeout checking for the 1st scroll to finish before starting the 2nd.

@janosh janosh temporarily deployed to github-pages March 12, 2023 20:59 — with GitHub Actions Inactive
@janosh janosh enabled auto-merge (squash) March 12, 2023 20:59
@janosh janosh merged commit e1e4066 into main Mar 12, 2023
@janosh janosh deleted the fix-toc-scroll-abort branch March 12, 2023 20:59
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.

Svelte-toc interferes with other anchor links in the document
1 participant