Re:Xilem – An experimental Rust native UI framework
by FrankenApps on Wednesday April 08, 2026 @02:14PM
(#47694109)
Iced is the clear number one for me, too. The only thing I'd love to see officially supported in iced in the future is mobile apps. But it looks like that ain't gonna happen anytime soon (with the most recent PRs getting rejected once again).
[ Parent
| on HN ]
Re:Xilem – An experimental Rust native UI framework
by t_mahmood on Thursday April 09, 2026 @08:55AM
(#47703107)
Have a question, what is the best way to detect if a `text_input` is focused?
Re:Xilem – An experimental Rust native UI framework
by FrankenApps on Friday April 10, 2026 @11:47AM
(#47719882)
Not exactly what you asked, but I recently answered a very similar question on StackOverflow: https://stackoverflow.com/questions/79345013/how-to-focus-te...
Re:Xilem – An experimental Rust native UI framework
by t_mahmood on Monday April 13, 2026 @04:55AM
(#47749495)
Yes, 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.