vue-sticky-directive
vue-sticky-directive copied to clipboard
A powerful vue directive make element sticky.
Im using nuxt ```js nuxt.config.js { src: '~/plugins/sticky.js', ssr: false } ``` ```js sticky.js import Vue from 'vue import Sticky from 'vue-sticky-directive Vue.use(Sticky) ``` and i'm getting that.  What...
Vue3 will be supported?
Hi, Would it be possible to update to plugin to use Vue events `v-on:sticky`/`@sticky` instead of using a callback function ?
when I try to disable sticky when resizing to mobile `v-sticky="!isMobile"` - an error appears: `vue.esm.js?a026:628 [Vue warn]: Error in directive sticky componentUpdated hook: "TypeError: Cannot destructure property 'parentNode' of...
Hi, many thanks for this package. It works great so far. Unfortunately I have a logical issue which I could not solve with given configuration possibilities. On one of my...
Hi, and thanks a lot for making this sweet directive! I do, however notice that there is a subtile "jump" when activating/deactivating stickyness. I´m using Google Chrome, and the "jump"...
Once I render page by vue-server-renderer, the page component using `vue-sticky-directive` will render fail with error "ReferenceError: window is not defined". https://github.com/mehwww/vue-sticky-directive/blob/master/src/index.js#L7
Importing `vue-sticky-directive.js` from CDN leads to: ``` vue-sticky-directive.js:4 Uncaught TypeError: Cannot set property 'VueStickyDirective' of undefined at vue-sticky-directive.js:4 at vue-sticky-directive.js:5 (anonymous) @ vue-sticky-directive.js:4 (anonymous) @ vue-sticky-directive.js:5 Uncaught SyntaxError: The requested...
Importing `vue-sticky-directive.min.js` from CDN leads to: "_Uncaught SyntaxError: The requested module `https://cdn.jsdelivr.net/npm/[email protected]/vue-sticky-directive.min.js` does not provide an export named `default`_" error in browser. Here is the code in browser: ``` import...