vue-sticky-directive icon indicating copy to clipboard operation
vue-sticky-directive copied to clipboard

Only start sticking from bottom of screen?

Open simplenotezy opened this issue 5 years ago • 0 comments

Is there a way so that I can make the element sticky, first when the element hits the bottom of the viewport?

Currently, when the element is sticky from, I guess "top", it blocks the information inside the element that goes below the fold, from being seen - unless you scroll all the way down till it reaches it's container bottom.

Bottom elements of sticky element not visible: image

Once you scroll down till it reaches it's container, the bottom contents of the sticky element is then visible: image

I think a solution could be to have it only become sticky, once you scrolled down to the bottom of the sticky element, if that makes sense.

Not sure if it is possible with this library?

simplenotezy avatar Apr 21 '20 17:04 simplenotezy