There is a bug in the safari browser in mobile devices and when we finish typing composition symbol MutationObserver dispatches part of events after firing compositionend event In normal behaviour MutationObserver dispatches all event before firing compositionend event I created small example where we can reproduce bug: https://codepen.io/zavdima/pen/abEdomm
<rdar://problem/90638028>