Commit 8be5651
committed
Limit loop in scrollPosIntoView at 5 steps
To prevent infinite loops when the algorithm somehow doesn't converge
(It should converge, but infinite loops with nebulous termination
conditions are a rather bad source of hangs.)
I'm still torn about this, since it'll mask bugs.
Issue #28191 parent 3d3898f commit 8be5651
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3721 | 3721 | | |
3722 | 3722 | | |
3723 | 3723 | | |
3724 | | - | |
| 3724 | + | |
3725 | 3725 | | |
3726 | 3726 | | |
3727 | 3727 | | |
| |||
0 commit comments