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

Add hysteresis to PopupMenu #35487

Closed
wants to merge 1 commit into from
Closed

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Jan 23, 2020

Closes #11219

Before:
9jAGZdts5i

After:
Yq4ydIJHlQ

However I have some problem with menus not closing correctly, so the PR is WIP. If anyone knows why using popup() on a sub-menu disables gui_input on the parent popup and why changing it to show+grab_focus breaks nested menus, that would be helpful.

Here's some scene for testing:
GUI.zip

@akien-mga
Copy link
Member

Superseded by #41851.

@akien-mga akien-mga closed this Sep 24, 2020
@KoBeWi KoBeWi deleted the hysteric_menus branch November 18, 2021 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hysteresis (delay) in hierarchical dropdown menus
2 participants