Closed Bug 1646361 Opened 5 years ago Closed 5 years ago

scroll position changes on keydown inside input element inside container with perspective set

Categories

(Core :: Layout, defect)

77 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1642603

People

(Reporter: reaper, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

I have a form inside a parallax scrolling container using perspective: 1px and transform-style: preserve-3d. When I type text (actually any keydown) into the input element, the container scrolls back to the top.

I am baffled as to why this happens. It doesn't behave this way in Safari or Chrome.

I've made a miniature test case that reproduces the issue. (attached)

To see it, scroll down to the input element, focus it, and begin typing. The container scrolls to the top.

Actual results:

My container scrolls to the top.

Expected results:

The scroll position should not change.

This seems to be duplication of Bug 1642603

Component: Untriaged → Layout
Product: Firefox → Core
See Also: → 1642603

The severity field is not set for this bug.
:alaskanemily, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emcdonough)

This appears to have been duplicated by bug 1642603 and I cannot confirm it still occurs.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Flags: needinfo?(emcdonough)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: