- From: Andrea Puddu <notifications@github.com>
- Date: Tue, 10 Apr 2018 13:54:51 +0000 (UTC)
- To: w3c/uievents <uievents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 10 April 2018 13:55:18 UTC
Hi, After reading [this issue](https://github.com/facebook/react/issues/12584) and realizing that Chrome and Firefox handle the change event in different ways, I cannot find an answer to this one... I made a simple pen to illustrate the example (no React, just plain HTML): https://codepen.io/nuragic/pen/xWMaGN?editors=1011 ### Steps to reproduce Just click on the `select` and pick any value. ### Results Chrome: ``` "onmousedown" "onchange" ``` Firefox: ``` "onmousedown" "onmousedown" "onchange" ``` 😕 The spec https://w3c.github.io/uievents/#event-type-mousedown says: > A user agent MUST dispatch this event when a pointing device button is pressed over an element. Could anyone clarify which one is correct (or if both are ok)? Thanks! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/uievents/issues/201
Received on Tuesday, 10 April 2018 13:55:18 UTC