vue-sticky-directive
vue-sticky-directive copied to clipboard
A powerful vue directive make element sticky.
Hi! First off, thanks for making this directive! One of the teams I work with is using it and we detected a problem on IE 11. With a top-sticky element,...
Latch the sticky element height to its original height while in sticky state. May be an issue with resize events.
When using the v-sticky attribute to disable stickiness, e.g. using a close button, the bottom-sticky and top-sticky classes remain on the element. This can be fixed by removing both classes...
`eval` should absolutely NEVER be used when not absolutely needed. There is no need to parse attributes using `eval` here, as objects can be passed in vue! https://github.com/mehwww/vue-sticky-directive/blob/master/src/sticky.js#L263