-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support scroll-margin #51
Comments
Same situation as #34 (comment) :) |
Good news, found out that So if you use that in tandem with <script src="https://unpkg.com/[email protected]/lib/bundle.min.cjs"></script>
<script src="https://unpkg.com/[email protected]/dist/index.min.js"></script>
<script>
// enable seamless-scroll-polyfill
seamless.polyfill()
</script> Note that in Safari < 14.5 |
Excellent. Thanks jonaskuske. |
I can think of it to be with a css variable.
Currently scroll-margin. It doesn't work in Safari, so to solve that need I came up with that option. Thank you for your contribution to the community.
The text was updated successfully, but these errors were encountered: