Closed Bug 1686655 Opened 3 years ago Closed 3 years ago

Mouse wheel scroll distance is too high on certain webpage

Categories

(Core :: DOM: Events, defect)

Desktop
All
defect

Tracking

()

RESOLVED MOVED
Tracking Status
firefox84 --- disabled
firefox85 --- disabled
firefox86 --- disabled
firefox87 --- fix-optional

People

(Reporter: atrif, Assigned: emilio)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(1 file)

Attached image scroll.gif

Affected versions

  • 86.0a1 (20210113213439)

Affected platforms

  • Windows 10x64
  • Ubuntu 20.04
  • macOS 11

Steps to reproduce

  1. Open Firefox and https://playground.babylonjs.com/#ARN6TJ#5.
  2. Scroll down using the mouse wheel.

Expected result

  • Scroll is executed as expected.

Actual result

  • Scrolling down once moves the object very far.

Regression range

Notes

  • Attached a screen recording.
  • The issue can be reproduced on Firefox 85.0b8 and 84.0.2 as well if dom.event.wheel-deltaMode-lines.disabled:true.
Has Regression Range: --- → yes
Has STR: --- → yes

So they try to handle DELTA_LINE here, but by the time that runs, I guess some other code that reads off the deltas runs like this.

However that seems like it should work (we should just stop reporting DOM_DELTA_LINE)... So I'll take a closer look when I have the time.

Assignee: nobody → emilio
Flags: needinfo?(emilio)

Chromium/WebKit browsers behave the same here. I filed https://github.com/BabylonJS/Babylon.js/issues/9799 for this with some details.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(emilio)
Resolution: --- → MOVED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: