fix: mobile terminal touch scrolling direction and target
- Attach touch listeners to term.element (xterm root) instead of wrapper - Fix scroll direction: swipe up now scrolls up (shows older buffer) - Remove RAF indirection; scroll applied synchronously in touchmove - Accumulate delta between events for smoother scrolling - Lower threshold to 6px and px-per-line to 16 for better responsiveness - Add touch-action: none to terminal container on mobile
This commit is contained in:
@@ -3703,6 +3703,7 @@ a.nav-item,
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
/* xterm.js manages its own sizing */
|
||||
|
||||
Reference in New Issue
Block a user