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

position fixed and transform: translate #25

Open
rifler opened this issue Mar 16, 2017 · 1 comment
Open

position fixed and transform: translate #25

rifler opened this issue Mar 16, 2017 · 1 comment
Labels

Comments

@rifler
Copy link

rifler commented Mar 16, 2017

hi!
for some reasons we must use transform: translateX(xx); on some wrapper element in our project, so degradation to position: fixed; doesn't work.
Can you make option to move sticky-wrap element to body?

@soenkekluth
Copy link
Owner

soenkekluth commented Apr 5, 2017

@rifler thera is an option:
wrapFixedSticky. default is true.
if you set it to false at least the sticky element does not get wrapped inside the placeholder.

making the placeholders position configurable inside the DOM is not a good idea because it should placehold the height (and with) of the element that should be sticky and has to be placed exactly where the actual element is inside the dom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants