SideNav after open auto close


Topic: SideNav after open auto close

japan pro premium priority asked 2 years 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 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 :)


japan pro premium priority commented 2 years 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
  • 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