Open zcorpan opened 1 year ago
So you want the order to be this right? (highlighted move)
keydown compositionstart compositionupdate beforeinput input keyup keydown compositionupdate beforeinput textInput input compositionend keyup
Nit: I think both compositionupdate
s would move before their corresponding beforeinput
s.
It looks like we have agreement here on the order, so I'll be updating the spec.
Please don't update it yet. Chromium has not confirmed if this is web compatible.
My understanding (from https://github.com/w3c/uievents/issues/353#issuecomment-1620349355) is that Firefox and Safari already ship with this event ordering.
What is the work involved in checking web compatablity? Do we have a tracking bug for this?
@chrishtr the chromium fix has now reached Stable (assuming it shipped in 119). I searched for "beforeupdate" and "compositionupdate" in https://bugs.chromium.org but didn't find relevant recently filed bugs.
@chrishtr the chromium fix has now reached Stable (assuming it shipped in 119). I searched for "beforeupdate" and "compositionupdate" in https://bugs.chromium.org but didn't find relevant recently filed bugs.
Agreed! I double checked and couldn't find any issues either. Looks like the change was web compatible.
@garykac could you update the spec? Thanks!
Originally posted by @masayuki-nakano in https://github.com/w3c/uievents/issues/353#issuecomment-1621032371
The event order of typing
´a
in an input field in Chrome is (see https://github.com/w3c/uievents/issues/353#issuecomment-1620349355):cc @chrishtr