How can you properly implement various text action...
# compose
p
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?