how to detect inserts in BTF2? I'm playing with `B...
# compose
d
how to detect inserts in BTF2? I'm playing with
BasicTextFieldChangeIterationSample
Every time I press a key in software keyboard, the sample prints it. However, when I press the same button again, it prints empty string. Example in thread
press
h
TextRange(0, 0) characters were replaced with "*h*"
press
e
TextRange(1, 1) characters were replaced with "*e*"
press
l
TextRange(2, 2) characters were replaced with "*l*"
press
l
again
TextRange(2, 3) characters were replaced with ""
why after entering
l
the second time output is different and what is the correct way to detect inserts?
h
this doesn't seem right. Can you please file a bug report with your setup including which software keyboard you are using, Android version, and Compose foundation version.
d