mdb-ui-kit icon indicating copy to clipboard operation
mdb-ui-kit copied to clipboard

Disable Ripples?

Open nekkon opened this issue 11 years ago • 4 comments

Is there a way to disable Ripples on an element? (currently it runs on all my a:links)

nekkon avatar Aug 07 '15 14:08 nekkon

add class .withoutripple to anchor tag

sekarasiewicz avatar Oct 11 '15 10:10 sekarasiewicz

I'm writing this in case some poor souls happen upon this problem.

There are two methods I'll describe here, assume you want to disable ripples on links inside your .site-header

  1. the javascript way: $('.site-header a').off().data('plugin_ripples', null); above call should be made after material-kit.js
  2. the css way .site-header .ripple-container {display: none;}

doug-gv avatar Jun 02 '18 23:06 doug-gv

  1. another javascript way When you initialize bootstrapMaterialDesign you pass an object with ripples set to false: $('body').bootstrapMaterialDesign({ ripples: false });

ricardofreeman avatar Oct 03 '18 14:10 ricardofreeman

@doug-gv $('.site-header a').off().data('plugin_ripples', null); doesn't work for me but the css works perfectly!

I also tried targeting it different ways.

chase439 avatar Sep 20 '19 20:09 chase439