Topic: MDBSideNav new scroll bar solution does not work

clickstudioltd priority asked 9 months ago


New solution for MDBSideNav scroll bar does not work and I get this error in console:

React does not recognize the scrollContainer prop on a DOM element.

The sample code here is wrong and does not reflect what the React documentation describes: https://mdbootstrap.com/docs/react/navigation/sidenav/#section-inner-scroll

Also the sample code does not work if you try to run it since the MDBSideNav component does not have a scrollContainer prop.


Mateusz Lazaru staff commented 9 months ago

There is an error in the description, but the code looks ok. Could you send a copy of your not working code snippet?


clickstudioltd priority commented 9 months ago

You are correct the sample code works if I don't add the missing prop.


Mateusz Lazaru staff commented 9 months ago

I will remove this property from the documentation, as it must have been added by mistake. Thanks for your vigilance!



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 7.2.0
  • Device: PC
  • Browser: Mozilla Firefox
  • OS: Windows 10
  • Provided sample code: Yes
  • Provided link: Yes