7 ms·
Not exactly what you asked, but I recently answered a very similar question on StackOverflow: https://stackoverflow.com/questions/79345013/how-to-focus-text-edi
by FrankenApps 5mo ago
Not exactly what you asked, but I recently answered a very similar question on StackOverflow: https://stackoverflow.com/questions/79345013/how-to-focus-text-editor-in-rust-iced https://stackoverflow.com/questions/79345013/how-to-focus-te...
- t_mahmood 5mo agoYes, not what I want :-). I can focus just fine. I want to detect if a text_input is focused, when I am checking key-presses. But going through every discussion and all, there was a PR that might have allowed to do this, and it's been merged, but it's not working the way I want. My use case is, If the text_input is not focused, I can press characters to perform some operations. If text_input is selected, it should be ignored. For now I am back using modifiers, will get back to this later.