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

topOffset should relative scrollElement #106

Open
bigbigDreamer opened this issue Oct 8, 2024 · 0 comments
Open

topOffset should relative scrollElement #106

bigbigDreamer opened this issue Oct 8, 2024 · 0 comments

Comments

@bigbigDreamer
Copy link

Just like in CSS with position: sticky, setting top can trigger stickiness at a certain distance from the top of the scrolling element. The same applies to sticky positioning. Currently, the default is top: 0, meaning that stickiness is triggered based on the offset, but the actual sticky position is not relative to the top of the scrollable element.

The above is just a use case scenario. I would appreciate your critique, corrections, and suggestions. Thank you very much.

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

No branches or pull requests

1 participant