Topic: MDBCollapse in production build

incust priority asked 1 year ago

MDBCollapse component behaves strangely in production build conditions,


  1. Ignoring show state on first render (collapsed text appears on first render even if it false)
  2. Animations lagging (like it's no animation on open and immediately two animation (close-open) at same time on close)

Resources (screenshots, code snippets etc.)

code sample:

Collapse code in ../test-collapse/src/App.js

How I tested:

  1. npm run build
  2. serve -s build

Krzysztof Wilk staff commented 1 year ago


Does it work properly in the development mode? We modified the Collapse component code so it should work in the next release.

incust priority commented 1 year ago

Hi, yes it's working properly in dev mode. Ok, will waiting next release.

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 4.2.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: Yes