Comment Comment by bob1029 I would also suggest looking into the following in this case:https://developer.mozilla.org/en-US/docs/Web/CSS/containhttps://developer.mozilla.org/en-US/docs/Web/CSS/will-changeThere are hints you can provide to the browser that may have an impact in scenarios where you are animating layout properties. parent bob1029 1 year ago
https://developer.mozilla.org/en-US/docs/Web/CSS/contain
https://developer.mozilla.org/en-US/docs/Web/CSS/will-change
There are hints you can provide to the browser that may have an impact in scenarios where you are animating layout properties.