Skip to content

fix(aiScroll):mouse wheel events are automatically replaced with swipe touch sliding events #2184

Open
xianglongfei-8888 wants to merge 1 commit intoweb-infra-dev:mainfrom
xianglongfei-8888:main
Open

fix(aiScroll):mouse wheel events are automatically replaced with swipe touch sliding events #2184
xianglongfei-8888 wants to merge 1 commit intoweb-infra-dev:mainfrom
xianglongfei-8888:main

Conversation

@xianglongfei-8888
Copy link

@xianglongfei-8888 xianglongfei-8888 commented Mar 19, 2026

issues: #2071

All scroll-related methods (scrollUntilTop/scrollUntilBottom/scrollUntilLeft/scrollUntilRight/scrollUp/scrollDown/scrollLeft/scrollRight) have been modified, with added checks for the enableTouchEventsInActionSpace configuration: when this configuration is enabled, mouse wheel events are automatically replaced with swipe touch sliding events to ensure scrolling functions properly in touch-prioritized scenarios such as games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant