Requires BrowserAnimationsModule but does not detail this in documentation
See original GitHub issueI’m submitting a … (check one with “x”)
[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request
Current behavior Tags do not work at all. Error in console related to fade animation.
Expected behavior Tags should display.
Minimal reproduction of the problem with instructions Clone ng2-tag-input, run the dev server, navigate to localhost:3000
What is the motivation / use case for changing the behavior? it’s broken otherwise
What do you use to build your app? (SystemJS, Webpack). Please specify the version visible in ng2-tag-input demo in project
-
Angular version: 4.0.X
-
ng2-tag-input version: latest
-
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] all
Solution:
App needs to import
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
and import it into the main AppModule instead of BrowserModule
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Came upon this, and actually when using Angular
4.0.0
you also need to add@angular/animations
in yourpackage.json
@hackash what? Just add BrowserAnimationsModule mate