Commit 78e592e
committed
fix: wrap disassembly list in Box to isolate horizontal scroll (#348)
Previously, horizontalScroll modifier was applied directly on InfiniteList
(which wraps a LazyColumn). This caused the horizontal scroll gesture to
compete with the vertical LazyColumn scroll, resulting in accidental
horizontal movement when users slightly tilted their finger while
scrolling vertically.
Fix: Wrap InfiniteList in a Box that owns horizontal scroll, while
InfiniteList/LazyColumn owns only vertical scroll. This ensures vertical
scroll takes priority over horizontal, eliminating accidental tab/scroll
switching.
Fixes #3481 parent c3a3d43 commit 78e592e
1 file changed
Lines changed: 18 additions & 14 deletions
Lines changed: 18 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 7 | + | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
| |||
203 | 200 | | |
204 | 201 | | |
205 | 202 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
216 | 220 | | |
217 | 221 | | |
218 | 222 | | |
| |||
0 commit comments