fixed-sticky
fixed-sticky copied to clipboard
Support left/right position
Hi,
This is a great polyfill. However, it only supports top/bottom position values, is there any plan to support left/right as well?
That is a good question. My hunch is that 90% of the use cases will be vertical and not horizontal, but I’ll leave this open and if people want this they can leave a comment. Or if someone wants to code this themselves, feel free and we’ll look at merging in, I don’t think the impact will be huge.
Just needing that feature now and it seems barely any sticky polyfill seems to be able to do this. Would be a really useful option for us.
would be really helpfull for us, too. just wanted to let you know that ;)
This would be pretty helpful for us as well..
For me too !
Ditto. I'm sad that this won't work with a sidebar in Chrome. :(
I assume this is also mostly because of the usage of position: static
while the element is not fixed on the page.