Commit f8ebd42
committed
refactor: remove setTimeout deferrals from RowNavigation scroll flow
The two setTimeout wrappers in goToRow and _scrollToRow were deferring
execution unnecessarily — goToRow now calls _scrollToRow directly, and
_scrollToRow resolves synchronously after scrollIntoView rather than deferring
to the next tick.1 parent 18e53be commit f8ebd42
1 file changed
Lines changed: 9 additions & 15 deletions
File tree
- log-viewer/src/tabulator/module
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 61 | + | |
66 | 62 | | |
67 | 63 | | |
68 | 64 | | |
| |||
73 | 69 | | |
74 | 70 | | |
75 | 71 | | |
76 | | - | |
77 | | - | |
| 72 | + | |
78 | 73 | | |
79 | | - | |
80 | | - | |
81 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
82 | 77 | | |
83 | | - | |
84 | | - | |
85 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
86 | 81 | | |
87 | | - | |
88 | | - | |
| 82 | + | |
89 | 83 | | |
90 | 84 | | |
91 | 85 | | |
| |||
0 commit comments