Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.1.0p5

Issue ID

855424

Regression

No

Reverse scrolling horizontal scrollbar by mouse/trackpad without Mac

uGUI

-

Steps to reproduce:
1. Open the attached project (FlipHScrollDemo.zip)
2. Switch platform to WebGL
3. Build for WebGL
4. Open the build with FireFox 55.0
5. When using laptop track pad (moving the hand towards the right), in OSX Editor the box would go to the right. In a WebGL build the box went to the left

Actual results: Reverse scrolling horizontal scrollbar by mouse/trackpad
Expected results: Scrolling horizontal should go to the same direction as the mouse pointer

Note:
It happens only at the first attempt to move, after it behaves normal

Reproduced with: 5.5.4p4, 5.6.3p2, 2017.1.1p2, 2017.2.0b11, 2017.3.0a7

Comments (1)

  1. vuplex

    May 13, 2021 20:23

    Why the "Wont Fix" status? This is still an issue in 2021. I understand that the JavaScript WheelEvent.deltaX and deltaY properties doesn't necessarily reflect the scrolling direction, but the MDN page for WheelEvent indicates that there are other approaches for correctly detecting the scroll direction:

    developer.mozilla.org/en-US/docs/Web/API/Element/wheel_event

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.