Skip to content

Document limitations of gestures more prominently#11418

Open
LeonMatthes wants to merge 1 commit intoslint-ui:masterfrom
LeonMatthes:lm/document-scale-gesture-limitations
Open

Document limitations of gestures more prominently#11418
LeonMatthes wants to merge 1 commit intoslint-ui:masterfrom
LeonMatthes:lm/document-scale-gesture-limitations

Conversation

@LeonMatthes
Copy link
Copy Markdown
Member

Currently, our gesture implementation is limited to touch screens and
only works with trackpads on macOS and iOS. I think this should be
displayed more prominently.

@LeonMatthes LeonMatthes force-pushed the lm/document-scale-gesture-limitations branch from 045e700 to 4395a64 Compare April 17, 2026 08:35
tronical
tronical previously approved these changes Apr 17, 2026
@LeonMatthes LeonMatthes enabled auto-merge (rebase) April 17, 2026 08:47
@LeonMatthes LeonMatthes added the candidate-for-bugfix-release Label for PRs that would make sense to cherry-pick into a spontaneously created bug fix release bran label Apr 17, 2026
Use the `SwipeGestureHandler` to handle swipe gesture in some particular direction.
Recognition is limited to the element's geometry.

The `SwipeGestureHandler` supports touchscreens on all platforms, and additionally supports trackpad gestures on macOS and iOS.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it supports trackpad gesture?

It also supports mouse, for sure.

@LeonMatthes LeonMatthes dismissed tronical’s stale review April 17, 2026 09:20

I live years, right? I think this wipe gestures don't have special handling on macOS.

Currently, our SwipeGestureHandler is limited to touch screens and
only works with trackpads on macOS and iOS. I think this should be
displayed more prominently.

Also, the SwipeGestureHandler just uses normal mouse drag events and
doesn't do special handling for trackpads.
@LeonMatthes LeonMatthes force-pushed the lm/document-scale-gesture-limitations branch from 4395a64 to 3f52ccb Compare April 17, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

candidate-for-bugfix-release Label for PRs that would make sense to cherry-pick into a spontaneously created bug fix release bran

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants