Topic: navbar collapse by default !

Kaherdino priority asked 2 years ago

I'm using mdboostrap with : "mdb-react-ui-kit": "git+",

Expected behavior My navbar's buttons aren’t supposed to be collasped on desktop : OK :

Generated Code :

Actual behavior My navbar’s button are collapsed ! Error : Then the code add a collapsing tag :

Here is my complete nav code : setShowBasic(!showBasic)} >

      <MDBCollapse navbar show={showBasic}>
        <MDBNavbarNav className="me-auto mb-2 mb-lg-0">
          <MDBBtn className="mx-1" color="secondary">
            Commencer à lire

It was working fine but when I make a new npm install of my projects, it didn’t work anymor

Kaherdino priority commented 2 years ago

I've reproduce the problem here :

Please, answer me, we are waiting for deployment on that...

Kaherdino priority commented 2 years ago

I force to use 2.0.0 version and it works. Nice test !!!

Krzysztof Wilk staff commented 2 years ago


Could you share a code with your problem? It'll be very helpful to diagnose the problem :)

Keep coding!

Kaherdino priority commented 2 years ago

But as I said, it's the 2.1.0 version of MDB-pro that break everything...You didn't do test before making a new released ? And where are the patch notes ?

The problem is here :


Krzysztof Wilk staff answered 2 years ago


Thanks for reporting that and sorry about this bug. A changelog for the MDB5 React package you can find here: There was a bug with animations of the MDBCollapse, that's why we edited this code. And of course, we are testing it, but sometimes it is hard to predict behaviors such as that one with the number of components we have. The fix should appear in about 1-1,5 weeks.

Keep coding!

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 1.4.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes