-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS] Scroll problems if you starts on text #3613
Labels
Comments
I use |
4 tasks
xdavidwu
added a commit
to xdavidwu/xterm.js
that referenced
this issue
Mar 4, 2024
When scrolling with touchscreen starting from text, as soon as touch leaves the text span, the touch event stops, making touch-scrolling able to scroll one row only. This fixes it by setting `pointer-events: none` to text spans, excluding them from hit-testing so that touch events won't be constrained to them. Fixes xtermjs#3613
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to scroll the terminal window can still be a challenge if there’s a lot of data on the screen like when the screen fills with error messages. It seems you need to start your scroll with your finger in an area where there is no text. When the screen is full of text, that’s difficult. Here’s a short video demonstrating the issue. I turned on Assistive touch to demonstrate the problem.
You can see how if I try to start my scroll with my finger on some text, it ignores the scroll. If I start it where there is no text, scroll works fine.
This issue reproduces only on iOS. Android works fine.
https://youtu.be/hzMkbgeYLM0 - reproduce
Details
Steps to reproduce
Thanks!
The text was updated successfully, but these errors were encountered: