vue-sticky-directive
vue-sticky-directive copied to clipboard
Z-index problems
Hi! Thank you for your plugin. I have issue with z-index;
If sticky-container is not first parent of element with v-sticky, all of this parents (elements) will be set inline styles. Despite the fact that the element with v-sticky I setted sticky-z-index="100", I see that all parents have z-index: 10. Why?
In order to fix it now I added sticky-z-index to these elements.
But it seems to me wrong, because if this is done for some purpose, then the value should be inherited from element with v-sticky.
Please, see what can be done?
Thanks!