Chromium Code Reviews
DescriptionFix <sky-input> data binding when editing deletes the last char.
contenteditable would remove the Text node inside the
editable area which would mean setting the value attr
of the <sky-input> would stop updating the editable
area.
Instead we add the text back if editing removed it.
R=abarth@chromium.org, ojan@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/7387509e1fd934812a3ef1bd1829bc9a0b3022ce
Patch Set 1 #Patch Set 2 : avoid two change events. #Patch Set 3 : avoid two change events. #Patch Set 4 : no really. #Messages
Total messages: 6 (1 generated)
|