Open Bug 1410816 Opened 8 years ago Updated 11 months ago

Mouse click in select element returns incorrect clientX and clientY

Categories

(Core :: Layout: Form Controls, defect, P3)

56 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: Kerstin.guenther, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38 Steps to reproduce: [Tested on MacOS High Sierra and Windows 7 with Firefox 56.0.1] Choose option in HTML select element. Actual results: Mouse click event has the following values: clientX = 0 clientY = 0 screenX = 0 screenY = 0 Expected results: Mouse click event should have correct values for mouse position.
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Priority: -- → P3

any update? kind of an annoying behaviour - i'd rather it return nothing than 0.
i have a codepen for the issue: https://codepen.io/wearingalampshade/pen/QWbMQgV?editors=1111

I can confirm this is still happening in my firefox 84.0.2
I noticed it while using WLED interface. It uses these values to detect a swipe to change tabs and causes false readings when clicking in the select field.
https://github.com/Aircoookie/WLED

Severity: normal → S3

I just checked and this is still happening today.

You need to log in before you can comment on or make changes to this bug.