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)
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.
Updated•8 years ago
|
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Updated•8 years ago
|
Priority: -- → P3
Comment 1•5 years ago
|
||
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
Comment 2•5 years ago
|
||
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
Updated•3 years ago
|
Severity: normal → S3
Comment 3•2 years ago
|
||
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.
Description
•