Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable ripple effect on element

I'd like to disable the ripple effect on an ion-chip element, which fires on click:

<ion-chip>
   <ion-label>Hey</ion-label>
</ion-chip>

How can I achieve this?

like image 794
matthiasunt Avatar asked Dec 22 '22 23:12

matthiasunt


2 Answers

<ion-chip style="pointer-events: none;" >

that will disable the styling click event in the component. Assuming you want a click event you could put a div around it.

like image 131
Ira Watt Avatar answered Dec 28 '22 23:12

Ira Watt


please try this code to remove ripple effect

ion-chip.button-effect {
     display:none !important;
    }
like image 32
Jatin Devani Avatar answered Dec 28 '22 23:12

Jatin Devani