Changing the type attribute on an input field onfocus causes the click event to stop propagation. Example: http://jsfiddle.net/7ps7LzrL/6/ I realize that this may be by design, however I was not able to find any documentation about this type of behavior. Expected Output: The click event would fire after the focus event. Received Output: The click event is not fired on the input after the focus event.
Created attachment 253580 [details] test case Same test as an attachment. For what it's worth, this behavior matches Firefox. I don't know if that's intentional, this seems like a very rare case.
Please find updated results: *** Safari Technology Preview 151 *** First click in input filed -> just "focus" event Second click in input field -> "focus" and then "click" event *** Chrome Canary 106 *** First click in input filed -> just "focus" event Second click in input field -> "focus" and then "click" event *** Firefox Nightly 105 *** First click in input filed -> "focus" and then "click" event