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

Nice handling of stickies bigger than the current window #18

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

panrafal
Copy link

This pull adds proper handling of stickies bigger than the window. You can scroll them with the window, until the edge is encountered - than they stick on that edge. If you reverse scrolling, they will unstick - until another edge is encountered.

From what I know - this will make this plugin one-of-a-kind :) And will enable people to stick long navigation lists properly!

I had to break backwards compatibility a bit - items are positioned using 'top' (or margin-top) - and that means they have to be set absolute in css. There are two options overflow and topProperty, which can be set to false to make it 100% BC.

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.

1 participant