Skip to content

Commit 8d19b82

Browse files
comment
1 parent 00f914f commit 8d19b82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

static/app/views/performance/newTraceDetails/traceRenderers/virtualizedViewManager.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,6 +1826,7 @@ function dispatchJestScrollUpdate(container: HTMLElement) {
18261826
return;
18271827
}
18281828

1829+
// since we do not tightly control how browsers handle event dispatching, dispatch it async
18291830
window.requestAnimationFrame(() => {
18301831
container.dispatchEvent(new CustomEvent('scroll'));
18311832
});

0 commit comments

Comments
 (0)