Topic: Ripple data attributes are ignored by React navigation components

Clara Hughes free asked 3 weeks ago


I reused our Standard markup configuration in a React side menu. The data attributes appear in the DOM but do not change ripples.

Which React API should I use?


Mateusz Lazaru staff answered 3 weeks ago


A data attribute appearing in the DOM does not establish that the React component reads it. Please remove the Standard initialization attributes and keep a minimal example with just one sidenav link. We should check the React component's supported interface before choosing a prop.

Could you provide the link JSX and import statement? If there is no supported switch, a narrowly scoped CSS override can suppress the visible wave while a component-level solution is evaluated. Please include whether you need visual suppression only or the underlying ripple handling removed as well.

https://mdbootstrap.com/docs/react/navigation/sidenav/



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 9.0.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No