Hi all, I am struggling with properly capturing ke...
# compose-desktop
g
Hi all, I am struggling with properly capturing keyboard strokes with compose for desktop. I followed the instructions here and here. Then this is my code. I have tried many different approaches but nothing I do seems to register the keystrokes. If someone with some expertise on it could take a look I'd be grateful.
After quite a bit of trial and error I'm convinced that desktop compose only supports capturing keystrokes on the
Window
and
Dialog
composables for the experimental window API. Correct me if that's not right, but I couldn't find anyway to get the focus API or key capture API to work on any other elements.