Does it help to change text parameter in function signature to mutableState of string or have the caret index deriveOf text or something? It's possible that the text deviates from caret index on recompositions when animated transition gets remembered.
c
chanjungskim
04/13/2023, 5:10 AM
@Jan Thanks for the comment. But sorry I don't get it..