revert event.type
and use input.type
instead
#6227
Merged
event.type
and use input.type
instead
#6227