Topic: Dropdown open property does nothing

EthanPB priority asked 1 week ago


Expected behavior When the open property is specified on a dropdown, it should toggle whether the dropdown is open or not.

Actual behavior Property has not effect on behaviour. Type hints suggest that an onOpen property exists, but this also does nothing and logs an error in console as it can't find the property.

Resources (screenshots, code snippets etc.) Error for isOpen:

React does not recognize the isOpen prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase isopen instead. If you accidentally passed it from a parent component, remove it from the DOM element.


Mateusz Lazaru staff commented 1 week ago

isOpen doesn't work as expected. I'm adding a task to fix it.



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 9.0.0
  • Device: MacBook Pro
  • Browser: Safari
  • OS: macOS
  • Provided sample code: Yes
  • Provided link: No