Commit dd69023
perf(cdk-experimental/column-resize): improve hover responsiveness of… (#30708)
* perf(cdk-experimental/column-resize): improve hover responsiveness of column resize with requestAnimationFrame
Improve column resize performance when calling the `_updateOverlayHandleHeight()` method in the `cdk-experimental` column resize feature. By wrapping the `updateSize` call inside a `requestAnimationFrame()`, the height update is deferred to the next repaint, improving responsiveness during hover interactions.
* perf(cdk-experimental/column-resize): improve hover responsiveness of column resize with requestAnimationFrame
use afterNextRender write phase instead
* fixup! perf(cdk-experimental/column-resize): improve hover responsiveness of column resize with requestAnimationFrame
---------
Co-authored-by: Miles Malerba <[email protected]>1 parent 387313f commit dd69023
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
284 | 286 | | |
285 | 287 | | |
286 | 288 | | |
287 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
288 | 296 | | |
289 | 297 | | |
290 | 298 | | |
| |||
0 commit comments