Position: sticky
doesn't support by the most mobile browsers. But position: fixed
is not that thing I need (because of fixed block overlaps content in the bottom of document).
I guess for jquery it will be easy to set static position for fixed block if we get bottom of document onscroll.
But for Vue2 I haven't any idea how to do the same. Give some advice please. Or maybe better solution exists.
Stickyfill.add(elements);
after your elements are created (in themounted
hook, most likely). – Essieessinger