Topic: SideNav after open auto close
After upgrade MDBreact5 to 5.0.0....
If I click to button, whitch set openState to true, I see opening menu for a moment, but immediately menu is closing!
I don't change my code from previous version!!!!
Krzysztof Wilk staff answered 2 years ago
Hi!
This is caused by the updated ripple effect (which is attached to the button by default) which now fires after the onMouseKeyDown
event. Add a noRipple
property to the MDBBtn
component and everything should work :)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 5.0.0
- Device: PC
- Browser: Chrome
- OS: Win10
- Provided sample code: No
- Provided link: No