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

Prevents scroll when using smart zoom on macOS #22

Closed
oskar-gmerek opened this issue Sep 13, 2022 · 1 comment · Fixed by #23
Closed

Prevents scroll when using smart zoom on macOS #22

oskar-gmerek opened this issue Sep 13, 2022 · 1 comment · Fixed by #23
Assignees
Labels
bug Something isn't working scroll Scrolling related issues

Comments

@oskar-gmerek
Copy link
Contributor

Hi,

When using smart zoom (double-taped mouse) svelte-toc prevents scrolling down to the bottom of the page. The scroll position jumps up when the active header should change instead of scrolling down and changing the active header in svelte-toc.

Nagranie.z.ekranu.2022-09-13.o.10.05.36.mov

I also find out, that if I do not wrap with a fixed position wrapper, then svelte-toc prevents scrolling the page more than the height of the ToC component.

@janosh janosh added the bug Something isn't working label Sep 13, 2022
@janosh janosh self-assigned this Sep 13, 2022
@janosh
Copy link
Owner

janosh commented Sep 13, 2022

Oops, that's embarrassing. Thanks for reporting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working scroll Scrolling related issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants