Closed darjag closed 2 years ago
I think this is a performance regression form https://github.com/vaadin/web-components/pull/2396
We should change __updateHorizontalScrollPosition
back to not apply the custom CSS property --_grid-horizontal-scroll-position
and instead use manual transform for cells (like currently used for RTL mode). --_grid-horizontal-scroll-position
is still needed for the row focus mode, but its value can be updated on cell focus.
I guess this also applies to the new custom property added in #3566 so we would need to remove it as well.
Description
Test Vaadin14 and Vaadin21 it's works OK
Expected outcome
faster horizontal scroll without lags
Actual outcome
Slow renderer columns, slow horizontal scrolling most visible on mobile devices, but also visible on desktop devices when compare to Vaadin 14 or 21
Minimal reproducible example
Steps to reproduce
Environment
Browsers Affected