react-toggle icon indicating copy to clipboard operation
react-toggle copied to clipboard

Use will-change CSS property

Open aaronshaf opened this issue 9 years ago • 2 comments

aaronshaf avatar Mar 21 '15 14:03 aaronshaf

https://dev.opera.com/articles/css-will-change-property

steida avatar Mar 25 '15 00:03 steida

I tested in all major browsers, including my best friend IE 11, and there doesn't seem to be any performance loss due to the animations. Everything moves quite nicely ;). According to MDN docs the will-change property should be used as a last resort to enhance performance. https://developer.mozilla.org/en-US/docs/Web/CSS/will-change With that said, has there been any reports of performance issues?

tgfbikes avatar Feb 06 '18 23:02 tgfbikes