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(hover): handle cancelling hover events when re-entering menu items #314

Merged
merged 23 commits into from
Jun 24, 2024

Conversation

NickDJM
Copy link
Owner

@NickDJM NickDJM commented Jun 21, 2024

Making this MR so I can run automated tests without waiting to merge the other one.

Related Issues

#300 #299

@NickDJM
Copy link
Owner Author

NickDJM commented Jun 24, 2024

I've been thinking about this over the weekend and I think this being a breaking change is actually tackling the problem the wrong way...

The reason we needed to move the timeout was because of how treeviews work with hover... And "fixing" it with moving the timeout makes treeviews even more of a nightmare with hovering.

I think the real solution (which includes the cancelling of timeouts are such) will be to also just overhaul how treeviews work with hover. I think the treeview items should stay open at all times until the menu is left, and then things can close. Doing this would remove the need to move the timeout tracker and prevent this from being a breaking change.

@NickDJM
Copy link
Owner Author

NickDJM commented Jun 24, 2024

Ok I've swapped everything. I think all that's left is a few test cases to write and updating the documentation. The treeview changes will come after.

@NickDJM
Copy link
Owner Author

NickDJM commented Jun 24, 2024

Ok docs have been updated and tests have been written. This should be good to go.

@NickDJM NickDJM merged commit a999f22 into 4.x Jun 24, 2024
9 checks passed
@NickDJM NickDJM deleted the synthetiv-4.x branch June 24, 2024 17:43
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.

2 participants