File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,16 @@ continue to use `react-loading-skeleton` v2.
4242
4343### Other Changes
4444
45+ - Optimize animation performance :
46+ - The old animation animated the ` background-position` property which made
47+ the browser repaint the gradient on every frame.
48+ - The new animation animates the ` transform` of a pseudoelement . This
49+ avoids repaints and results in an observable decrease in CPU usage.
50+ - No longer require ` width` and ` height` to be set for the ` circle` prop to
51+ work
4552- Change the default ` duration` from 1.2 s to 1.5 s
4653- Make the default ` Skeleton` base color a _tiny_ bit darker so that the
4754 animation is more visible
48- - No longer require ` width` and ` height` to be set for the ` circle` prop to
49- work
5055
5156### Bug Fixes
5257
@@ -57,6 +62,7 @@ continue to use `react-loading-skeleton` v2.
5762### Thanks!
5863
5964- @srmagura
65+ - @aboodz
6066- @RoseMagura
6167- @saadaouad
6268- @rlaunch
You can’t perform that action at this time.
0 commit comments