Ripple effect is not working
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
Confirm, same situation
- Angular version: 10.0.7
- PrimeNG version: 10.0.0-rc.1
- Browser: all
Try with RC2 please.
Still not working as of RC3
Make sure you are import and mention the ripple module in you app.module.ts file.
Can you please refer the Link
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