Using Scale will often increase performance as most browsers will not
trigger style computation for the transform action. This should be used
sparingly and tested, since increasing the number of composition layers
may slow things down.
To ensure the transformation does not trigger style recomputation, you
may need to set the widget CSS style will-change: transform. This
should be used only when needed as it may overwhelm the browser with a
high number of layers. See
https://developer.mozilla.org/en-US/docs/Web/CSS/will-change
The method for hiding the widget.
The default is Display.
Using
Scale
will often increase performance as most browsers will not trigger style computation for thetransform
action. This should be used sparingly and tested, since increasing the number of composition layers may slow things down.To ensure the transformation does not trigger style recomputation, you may need to set the widget CSS style
will-change: transform
. This should be used only when needed as it may overwhelm the browser with a high number of layers. See https://developer.mozilla.org/en-US/docs/Web/CSS/will-change