Topic: MDBCollapse in production build
MDBCollapse component behaves strangely in production build conditions,
detailed:
- Ignoring show state on first render (collapsed text appears on first render even if it false)
 - 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: https://github.com/eugene-afk/mdb-react-collapse-bug
Collapse code in ../test-collapse/src/App.js
How I tested:
- npm run build
 - serve -s build
 
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
                            
                            Open
Specification of the issue
                                            
        - User: Pro
 - 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
 
Tags
                                
                                
                            Related topics
                                
                                
                            
Krzysztof Wilk staff commented 3 years ago
Hi!
Does it work properly in the development mode? We modified the Collapse component code so it should work in the next release.
incust pro premium priority commented 3 years ago
Hi, yes it's working properly in dev mode. Ok, will waiting next release.