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

Fixed header #16

Merged
merged 6 commits into from Mar 24, 2014
Merged

Fixed header #16

merged 6 commits into from Mar 24, 2014

Conversation

walidvb
Copy link

@walidvb walidvb commented Dec 10, 2013

Hi, these commits add classes to the three states(to eventually be used by css), adds an overflow:auto to pinned content that is higher than the window, and support for a fixed header.

Last thing to be corrected, still, is to correct the following behavior: when a pinned content is in overflow, and the end of the container is reached, the pinned content should change state as soon as its normal height hits the bottom, not its current height(the overflow:auto one)

…s too long

Use case is the following: when the pinned content is too high for the window, add overflow:auto so that the user can scroll within that content as well.
Adds an optional fixedHeaderSelector to the option, allowing to trigger the pin as soon as that header is hit.
sorry, i was working directly via github.com, don't know how to cancel a commit here.. :/
biilmann added a commit that referenced this pull request Mar 24, 2014
@biilmann biilmann merged commit b9f10bb into webpop:master Mar 24, 2014
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.

None yet

2 participants