Closed Bug 1627734 Opened 4 years ago Closed 4 years ago

Typing on fixed element textarea scrolls content to the top

Categories

(GeckoView :: General, defect)

Unspecified
All
defect
Not set
normal

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: agi, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached file testcase.html

Load testcase (live here: https://agi.sferro.dev/testcases/scrolling.html ). Scroll to the bottom of the document and then focus on the fixed textearea. Notice content scrolls all the way to the top.

Attached image scrolling.gif

Looks like this is a regression, bisecting.

9:09.40 INFO: Last good revision: 97879e1e1dcb4c0577bb4ed4b7f803a9c236fc22
9:09.40 INFO: First bad revision: 041c310f2bf7e1db11e65f883076627129e453c0
9:09.40 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=97879e1e1dcb4c0577bb4ed4b7f803a9c236fc22&tochange=041c310f2bf7e1db11e65f883076627129e453c0

Regressed by: 1622894
Has Regression Range: --- → yes
Keywords: regression

Emilio do you know what could be going wrong here?

Flags: needinfo?(emilio)

Yes.

Assignee: nobody → emilio

We lifted this restriction because with bug 656036 it makes sense to zoom into a
focused input in a fixed subtree. But this causes undesired panning up.

We could conceivably fix it if needed, but for now preserve the previous
behavior of not panning nor zooming.

Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b70c2c720c4d
Make ZoomToFocusedInput skip fixed frames again. r=botond
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: