Ignore single left click on tabs panel when context menu is open #1141
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR applies this patch for single left click on tabs panel as well.
It also removes the check for native context menu. The problem, which original patch (as per my understanding) tries to solve, happens to me with native context menu enabled as well — when I have context menu open and perform left click outside in order to close it, the click event gets passed to the Sidebery element under cursor. It happens to me on Windows 11 with "Native context menu" option enabled. And it doesn't happen without the "native menu" check — I think it's not needed anyway, as in the case when left click gets consumed by native context menu's overlay or backdrop (and such context menu gets closed), Sidebery should not receive this event anyway.