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

Fix submenu remains clickable while hovering #222

Merged
merged 2 commits into from
Sep 23, 2022

Conversation

hw-df
Copy link
Contributor

@hw-df hw-df commented Sep 9, 2022

After clicking on a submenu, it remains clickable as long as you are hovering over it´s position. This is because the hovering rule still applies (= sets visibility to visible), but the opacity declaration cannot apply (= opacity stays 0 -> invisible) because you cannot overide the opacity of a parent. So the solution is to prevent the hovering rule from beeing applied while the whole contextmenu is hidden.

closes #221

After clicking on a submenu, it remains clickable as long as you are hovering over it´s
position. This is because the hovering rule still applies (= sets visibility to visible), but
the opacity declaration cannot apply (= opacity stays 0 -> invisible) because you cannot
overide the opacity of a parent. So the solution is to prevent the hovering rule from beeing
applied while the whole contextmenu is hidden.
@jonataswalker
Copy link
Owner

jonataswalker commented Sep 21, 2022

@hw-df great catch and fix, thanks.

Would you please resolve the conflicts?

@jonataswalker jonataswalker merged commit fd822e6 into jonataswalker:master Sep 23, 2022
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

Successfully merging this pull request may close these issues.

Submenu clickable when closed
2 participants