Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DomRenderer: fix touch scrolling starting from text#4979

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
xdavidwu wants to merge2 commits intoxtermjs:master
base:master
Choose a base branch
Loading
fromxdavidwu:touch-text-dom-renderer

Conversation

@xdavidwu
Copy link

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 settingpointer-events: none to text spans, excluding them from hit-testing so that touch events won't be constrained to them.

Fixes#3613

xdavidwuand others added2 commitsMarch 5, 2024 01:21
When scrolling with touchscreen starting from text, as soon as touchleaves the text span, the touch event stops, making touch-scrolling ableto scroll one row only.This fixes it by setting `pointer-events: none` to text spans, excludingthem from hit-testing so that touch events won't be constrained to them.Fixesxtermjs#3613
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[iOS] Scroll problems if you starts on text

2 participants

@xdavidwu@Tyriar

[8]ページ先頭

©2009-2025 Movatter.jp