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

Layer Filtering edge case with some UIComponents (Eg: Dropdown) #91

Open
cubedparadox opened this issue Jun 20, 2023 · 0 comments
Open

Comments

@cubedparadox
Copy link
Contributor

Expected behaviour:
UI elements (such as dropdown) should not be interactable if they are not on the valid layer for the context.
Context here, means "UI, UIMenu, Reserved2 (InternalUI)" should only be interactable when the ClientSim quickmenu is open. Other layers should only be interactable when the quickmenu is closed.

This is generally true, however the Dropdown UI behaviour (and possibly others, I've not tested them all yet) sometimes manages to bypass this layer filter.
The specific bug/example I'm tracking here, is being able to click a dropdown outside of its layer's context, to open the dropdown and show its elements. Once opened, the dropdown does behave correctly, blocking the user from closing it or selecting elements from inside the dropdown.
This is a low priority issue, as the context can easily be toggled to close the dropdown after getting it into a bad state (just open or close the clientsim quickmenu so you're in the correct layer context for the UI)

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