primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Ripple effect is not working

Open diegoarantes opened this issue 6 years ago • 5 comments

I'm submitting a ...

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Stackblitz https://stackblitz.com/edit/primeng-bug-ripple

Current behavior When apply ripple effect the buttons, it is not working.

Please tell us about your environment:

  • Angular version: 10.0.7
  • PrimeNG version: 10.0.0-rc.1
  • Browser: all

diegoarantes avatar Aug 03 '20 14:08 diegoarantes

Confirm, same situation

  • Angular version: 10.0.7
  • PrimeNG version: 10.0.0-rc.1
  • Browser: all

fattazzo avatar Aug 03 '20 19:08 fattazzo

Try with RC2 please.

cagataycivici avatar Aug 06 '20 15:08 cagataycivici

Still not working as of RC3

likwidgames avatar Aug 12 '20 20:08 likwidgames

Make sure you are import and mention the ripple module in you app.module.ts file.

Can you please refer the Link

Reference Image to find the solution

ragusmech avatar Aug 23 '21 06:08 ragusmech

For the future, you gotta import RippleModule if you're using prime button like a directive. And also enable ripple effect in PrimeNGConfig object.

<button
   pButton
   pRipple>
   </button>

If you're using it like a component (<p-button>) than it will work out of the box

cili93 avatar May 25 '22 17:05 cili93