Commit 07d27ea
authored
Fix composite table not scrolling when dragging the synced bar (#842)
#841 only re-enabled finger scroll on touch; on desktop the wrapper was still overflow-x:hidden and scrolled via wrap.scrollLeft set from the synced bar. Programmatic scrollLeft on an overflow:hidden box is browser-flaky - some browsers move the bar but never scroll the clipped content (user-reported).
Make the wrapper a real scroll container (overflow-x:auto) so the synced bar, wheel, trackpad and finger all scroll it reliably; hide its own horizontal scrollbar (webkit height:0; thin elsewhere) so only the synced bar shows, keeping the vertical scrollbar.1 parent 0b71eb6 commit 07d27ea
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
290 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
291 | 294 | | |
292 | 295 | | |
293 | 296 | | |
| |||
0 commit comments