tinesoft / ngx-wow

Angular module for WOW.js: a customizable library to reveal animations when you scroll.
https://tinesoft.github.io/ngx-wow
MIT License
32 stars 7 forks source link

ERROR TypeError: b.className.replace is not a function at e.resetAnimation (wow.min.js:2) #17

Closed oveshparasara closed 6 years ago

oveshparasara commented 6 years ago

ERROR TypeError: b.className.replace is not a function at e.resetAnimation (wow.min.js:2)

when i used material checbox

tinesoft commented 6 years ago

Hi @oveshparasara

Could you provide a minimum info about your setup?

Thanks

oveshparasara commented 6 years ago

Hi @tinesoft WOW - v1.1.2 node : v9.4.0 Angular CLI: 1.7.4 OS: linux x64 Angular: 5.2.10 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router angular/cdk: 5.1.1 angular/cli: 1.7.4 angular/material-moment-adapter: 6.0.0 angular/material: 5.1.1 angular-devkit/build-optimizer: 0.3.2 angular-devkit/core: 0.3.2 angular-devkit/schematics: 0.3.2 ngtools/json-schema: 1.2.0 ngtools/webpack: 1.10.2 schematics/angular: 0.3.2 schematics/package-update: 0.3.2 typescript: 2.4.2 webpack: 3.10.0 npm 5.6.0

when check on material checkbox then throw ERROR TypeError: b.className.replace is not a function at e.resetAnimation (wow.min.js:2)

tinesoft commented 6 years ago

Hi,

Do you have a repository I can fork to reproduce the error?

tinesoft commented 6 years ago

I'm closing it for now, due to lack of feedback. Feel free to re-open with more info, if it occurs again

sanoj-v commented 5 years ago

I'm having same problem. When i checked on material checkbox this error appear, Someone gives the answer here https://github.com/matthieua/WOW/issues/185#issuecomment-319997317 but the problem is how do i change that line on production in angular 7. Thanks

tinesoft commented 5 years ago

Hi @sanoj-v ,

Unfortunately, there is nothing i can do. As the link you provided shows, this is an issue on WOW.js (not on this library ngx-wow , which is simply its wrapper for Angular).

It seems a PR has already been created with the proposed fix (see https://github.com/matthieua/WOW/pull/239) , but it hasn't been merged yet...