v-kat

Results 27 comments of v-kat

> @v-kat hi, thank you for the PR! And apologies for neglecting it for so long. I've just tested it on my Android: for some reason, the keyboard disappears immediately...

There seems to be some bugs after I merged in 0.14 I'll investigate and try to update later.

I tested it and seemed to be working on 0.14 still looking at using `SubscribedEvents` with some minor type annoyances with the `EventClosure` closure. There's some jank with the TextEdit...

Maybe https://github.com/emilk/egui/issues/4500 will eventually fix some of the issues. Need to fix the CI.

https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html has LazyLock but I didn't want to try it. The TextEdit cursor focus issues on egui are pretty annoying and I might look at https://github.com/emilk/egui/issues/4500 later to make this...

> I've just tested it on both Android and iOS, and I'm seeing the same issue: the keyboard closes immediately after opening it Can you tell me how you tested...

Apparently `prevent_default_event_handling: false,` set on the `WindowPlugin` causes the keyboard not to work at least in your example. The other issue you're describing is the bad focus behavior with egui...

> Yeah, I can confirm that setting the flag back to true works around the focus issue. Unfortunately, I still can't get any text entered in the input field. (Below...

![lame_example](https://github.com/user-attachments/assets/b4b7d414-2be7-429d-90e6-a09b05825c3a) It's not very good and kind of hard to do successfully given the small sizes of TextEdits but does work.... https://github.com/emilk/egui/pull/4855 will hopefully help and I'll also steal any...

Testing using `egui = { git = "https://github.com/micmonay/egui", default-features = false, branch = "fix-keyboard", features = ["bytemuck"] }` for better TextEdit focus handling. Might maybe steal the PointerEvent change in...