Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asking for input directly after hiding monitor doesn't focus box #9654

Open
OceanIsEndless opened this issue Aug 30, 2024 · 0 comments
Open

Comments

@OceanIsEndless
Copy link

Expected Behavior

Hiding a data monitor and then asking for input directly after shouldn't be the subject of an issue.

Actual Behavior

Hiding a monitor and then asking for input directly after (no frames in between) causes the ask box to not automatically focus.

Steps to Reproduce

ask bug steps to reproduce

Minimum reproducible example (change the file extension back to .sb3; GitHub doesn’t support it)

This may be a bit specific, however you can run into this issue quite easily when, say, displaying a list of choices to the user, asking them which one they choose, hiding it, and then promptly asking for something else. (That's how I ran into it.) It is also just kind of annoying.

System Details

This appears to occur on most platforms. I've currently tested the online editor in Chrome as well as the Scratch offline editor for Mac.

Screenshots
As you can see, the ask box is technically focused (expected), but you can't type without clicking into it (unexpected):

ask bug actual behavior

I initially reported this to TurboWarp, and it was a quick fix. Perhaps the solution over there could be of use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant