ID:2960283
 
BYOND Version:516.1650
Operating System:Windows 11 Pro 64-bit
Web Browser:Chrome 131.0.0.0
Applies to:Dream Seeker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:

winsetting the focus to a browser control reports that the browser control has focus from BYOND's end. The browser refuses to admit it has focus until the document has been clicked on. I have attempted to, and failed to force the focus using javascript. Until the user clicks into a webview2 element, we cannot migrate the user's focus to the browser. This makes dynamic on-screen inputs impossible with browsers.

Test case uploaded to BYONDiscord

You can check the focus element by hovering over the blue text at the top of the screen.

You can make the browser show up by clicking on the green box at the right of the screen. This should set the user's focus to that browser too.

When you click on the browser, it will detect focus and change the text content. When you click away from the browser, it will send the focus to the map element and hide the browser.

Login to reply.