vue-parallax-js
vue-parallax-js copied to clipboard
Tiny vue component that adds a directive for parallax effect on elements.
Expected: Parallax translation to work in IE11 Actual: No transform style is set to bound elements in IE11. Tested in Browserstack. Cause: IE11 defaults `marginTop` to `auto`, so `parseInt(n.marginTop)` return...
Bugfix for IE11: empty margin values returned 'auto' and produced NaN-Values.
possible temporary solution: ```js declare module 'vue-parallax-js' { const n: any; export = n; } ```