Topic: Can't get responsive collapsing to work

ragnar-wassmanardis-se priority asked 7 months ago

Expected behavior

Can't get responsive collapsing to work, have copied your example code (Basic example),react. Doesn't seem to work on your example in the documentation either.

Actual behavior enter image description here Resources (screenshots, code snippets etc.)

Mateusz Lazaru staff commented 7 months ago

There is a bug in docs indeed, I've added a task to fix it. But when I copied the code to the clean react project, it works fine.

Changing show in line <MDBCollapse navbar show={showBasic}> correctly changes the collapse state.

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 6.2.0
  • Device: -
  • Browser: Firefox
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: Yes