Can the deprecated animation module be removed from our app?


Topic: Can the deprecated animation module be removed from our app?

novaStack asked 3 weeks ago

Our Angular update marks the animation module as deprecated. We use MDB dialogs and dropdowns throughout the application.

Which animation setup is currently required by these components?


Arkadiusz Idzikowski staff answered 3 weeks ago

Keep the existing animation setup while checking the runtime behavior: the components in your example depend on Angular's animation engine. A deprecation warning alone does not establish that those dependencies can be removed safely.

If your application is module based, retain the working root animation import. Please share the bootstrap configuration and first runtime error if the warning is accompanied by a failing dialog or dropdown, so we can distinguish the warning from an initialization problem.

https://angular.dev/api/platform-browser/animations/BrowserAnimationsModule


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB5 9.1.0
  • Device: Desktop
  • Browser: Firefox
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No