https://kotlinlang.org logo
#compose
Title
# compose
p

Peter

03/28/2024, 12:50 PM
How can you properly implement various text actions (such as copy, paste, text selection, etc), while doing a custom text component. For example, in this article, there is a custom OTP field, that is made by adding
decorationBox
and not calling
innerTextField()
at all. By doing this, stuff kind of works, but actions are broken. Paste popup kind of appears on top of the screen. Does anyone know, how to properly implement this, to achieve same component as in article, while properly supporting text actions?
5 Views