Dropdown from primeng lib doesn’t work the proper way – "Expecting instance of DOM Element" is thrown
I use primeNg lib for my project. Recently I have added a paginator component and tried to use the embedded dropdown.
Here is a trick – instead of using AnimationRendererfrom @angular/platform-browser/animation, my app calls DebugRenderer2.
According to requirements I imported BrowserAnimationsModule to app.module.ts and uncommented this string in polyfills.ts
import 'web-animations-js'; // Run `npm install --save web-animations-js`.
But it still calls DebugRenderer2.
What can be wrong? Are there any workarounds for defining renders in angular?