Topic: MDBCollapse in production build
incust priority asked 2 years ago
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
Opened
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
Krzysztof Wilk staff commented 2 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 priority commented 2 years ago
Hi, yes it's working properly in dev mode. Ok, will waiting next release.