Open Bug 1131944 Opened 9 years ago Updated 2 years ago

<select> dropdown can appear in the wrong position when inside a container with position:sticky

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: MattN, Unassigned)

References

()

Details

Attachments

(2 files)

I regularly see the <select> dropdown in the wrong position on my bug dependency tree dashboard. I'm not sure of all of the possible ways to reproduce the issue but scrolling upwards while a <select> dropdown popup is open seems to trigger it. Once it's in the wrong position, it will remain in that wrong position upon reopening too. Click and keyboard behaviour becomes wonky when the popup is in the wrong position.
Attachment #8562613 - Attachment filename: file_1131944.txt → file_1131944.htm
Attachment #8562613 - Attachment mime type: text/plain → text/html
This shows a mild version of the problem using my testcase. On my bug dashboard I regularly see the dropdown vertical position off by multiple centimetres.
I wonder if this could be a case of a missing MovePositionBy. See bug 911786 comment 12 to 17. Although the <select> itself doesn't need to be position: sticky to show the problem.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: