Remove zoom css property
I'm submitting a ... (check one with "x")
[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
Current behavior
When using primeng in Firefox, the following warning is printed to the console:
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”.
Example of the zoom property in the code:
https://github.com/primefaces/primeng/blob/da7ccb9d4a1a42e94168baa7f182cbde60a3c8d0/src/app/components/button/button.css#L9
Expected behavior
Not having the warning printed in the console by replacing the zoom property with calc() or transform.
Minimal reproduction of the problem with instructions
Add primeng as a dependency to an Angular application. Open the application in Firefox.
Please tell us about your environment:
Running on in Firefox on Windows. Built with npm package manager.
-
Angular version: 8
-
PrimeNG version: 8.1.1.
-
Browser: [Firefox 72.0.1]