cocos-engine
cocos-engine copied to clipboard
Horizontal ScrollView does not respond to horizontal scrolling on laptop trackpads (v3.4.x)
Cocos Creator version
3.4.0, 3.4.2
System information
macOS Monterey v12.2.1, Macbook Pro 2.6 GHz, 16GB DDR4
Issue description
After setting up a horizontal scroll view in an empty scene, the scroll view does not respond to horizontal scrolls (it only responds to the vertical axis of the scroll.
Relevant error log output
No response
Steps to reproduce
- Create a new scene.
- Add a ScrollView and configure it to scroll horizontally with long content.
- Play the scene and attempt to scroll left/right a trackpad that supports horizontal scrolling.
Minimal reproduction project
It seems like the scroll view UI component doesn't handle the scrollX data from EventMouseWheel
not urgent, put it into v3.6.1