Topic: Disable ripple effect on btn

Pedro Pessoa free asked 2 years ago


Expected behavior

Disable click event on btn class (which triggers a ripple method with fancy animations)

Actual behavior

No solution found in the documentation:

Resources (screenshots, code snippets etc.)

https://mdbootstrap.com/docs/standard/methods/ripple/ (no mention on how to disable it)


Mateusz Lazaru staff answered 2 years ago


hi,

there is no way to turn it off using default MDB package, however you can set the duration to '0s' to make this animation not visible.

data-mdb-ripple-duration='0s'

https://mdbootstrap.com/snippets/standard/mlazaru/4159829



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 Standard
  • MDB Version: MDB5 4.3.0
  • Device: PC
  • Browser: Firefox
  • OS: Linux Ubuntu
  • Provided sample code: Yes
  • Provided link: Yes