Topic: SideNav after open auto close

japan priority asked 1 year ago


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 1 year 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 :)


japan priority commented 1 year ago

Super, thank you very much



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

  • ForumUser: Priority
  • 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