Stacked relative
I would like to get an effect of the stacked demo, where multiple sticky headers politely let one another to be at the top of the screen, only relative to an arbitrary container (relative option in the library).
It seems at the moment this is not supported.
I am facing the same issue. Were you able to fix it?
No. But depending on your browser support, position: sticky might be good enough now or in the future.
@denis-sokolov I'm not quite understanding what the problem is. You're trying to replicate the stacked demo?
@vcarl, yes, the stacked demo, but not at the top of the screen, but at the top of an arbitrary container, like in the “relative” demo.
Gotcha, okay. It definitely does seem like if the stacked demo works, and the relative demo works, a stacked relative demo should work as well.
I'm still familiarizing myself with the library, would you be able to make a "stacked relative" demo as a PR? It seems like a valuable addition to the docs, and if it produces buggy behavior it would help me a lot when I go to debug it.
Sorry, it’s been a while, I’m not using it in my current project and it’ll cost me much more effort to get back into the context.
Okay, that's fine! I'll leave this open as a doc enhancement issue, and will open a bug issue if I find something's not working right.