fix: document-level capture touch listeners for mobile terminal scroll
- Attach touch listeners to document with capture:true instead of container - Check if touch target is inside terminal container before handling - This runs before xterm.js internal handlers, giving us full control - Add touch-action: none to terminal container to prevent browser gestures - Lower threshold to 3px, 20px per line for responsive scrolling
This commit is contained in:
@@ -3707,6 +3707,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