I'm working on a WASM web app for US Army Soldiers...
# compose-web
k
I'm working on a WASM web app for US Army Soldiers to search through Army regs quickly with AI. It's working great on normal browsers but when I try to use it on a US Army laptop 90% of the time it refuses to type anything (on both chrome and edge). Randomly it will allow typing and it always allows copying and pasting. Sadly I can't see any console errors since the laptop does not allow opening the console and I think the typing issue is from some kind of security system issue. I updated to the latest dev version of compose multiplatform this weekend and I will test it again when I'm back at work next week. Is there anything else I can do to fix this?
🔥 2
a
@[JB] Shagen I remember there was an issue like this and you fixed it, am I right?
@Kyle Eichlin Btw, thank you for such an application 👏
k
@Artem Kobzar Thank you for working on compose! It's a joy to work with
@Artem Kobzar I think I found a small fix for it. If I press 'tab' typing will start to work for the entire website.
a
Hmm, that sounds weird. @Oleksandr Karpovich [JB] is it something known/expected?
o
If tab "helps", it looks like the canvas is not focused by default. Do you use CanvasBasedWindow or ComposeViewport entry point? Perhaps, explicitly setting tabindex to the canvas might help: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex