What could be the reason of this? it works fine with text but makes this with emojis. I think when text gets updated, state of the input changes, textfield gets recomposed and hence the cursor gets placed at the end of line. but if this is the case then why when I type text it's all fine?