Closed Bug 1700702 Opened 4 years ago Closed 4 years ago

Unexpected overscroll in single-line text fields

Categories

(Core :: Panning and Zooming, defect, P2)

defect

Tracking

()

VERIFIED FIXED
89 Branch
Tracking Status
firefox89 --- verified

People

(Reporter: mstange, Assigned: hiro)

References

Details

Attachments

(3 files)

Attached file testcase

Steps to reproduce:

  1. Set apz.overscroll.enabled to true.
  2. Load the attached testcase.
  3. Use a touchpad to horizontally scroll the text field's contents to the end.

Expected results:
There should be no rubber banding at the end of the text field.

Actual results:
The text bounces.

Severity: -- → S2
Priority: -- → P2

A way we can do it right now is checking mDisregardedDirection, which is only set for single line text controls and disallow overscrolling. If we found other cases we should disallow overscrolling where the mDisregardedDirection is not suitable, we will add a new flag for the cases.

Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED
Pushed by hikezoe.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/24999111f7e9 Split overscroll tests into a new file. r=botond https://hg.mozilla.org/integration/autoland/rev/52d2c9e672d0 Disallow overscrolling in single line text controls. r=botond
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

Verified fixed in beta 89.0b2 (20210420191345) and Nightly 90.0a1 (2021-04-20) (20210420213949) on MacOS 11.2.3.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: