Topic: MDBSideNav in react Typescript doesn't work

tonis2 free asked 3 years ago

Expected behavior

Actual behavior Burger menu doesn't work properly, if the window is small and breakWidth triggered then if i click the burger menu the sideNav doesn't appear.

Resources (screenshots, code snippets etc.)

enter link description here

Piotr Glejzer staff commented 3 years ago

it only doesn't work in typescript? Did you use it without ts?

tonis2 free commented 3 years ago

If i save the file as .tsx it doesn't work if i save it at js and copy past your sample it's working

Piotr Glejzer staff commented 3 years ago

Sorry about that. I added a task to fix it with ts.

tonis2 free commented 3 years ago

it's working now ? Just need to update the version ?

Piotr Glejzer staff commented 3 years ago

we didn't update a package yet. Probably the next Monday.

victoriatech free answered 3 years ago

It doesnt work for me either - pure react.Why it is not better explained in docs how to get hamburger menu up an running?Why are your examples buggy? to click on burger menu miltiple times.Why dont you rewrite all provided materials to classless React?Are you even keeping up this library? What for did we pay the money?

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: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.27.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: Yes