-
Notifications
You must be signed in to change notification settings - Fork 329
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
Right click and drag will "lock" tab item. #132
Comments
Hi @ButchersBoy, i found the bug in this method: Dragablz/Dragablz/DragablzItem.cs Lines 481 to 498 in e493913
The problem is when you hold the right mouse button and the mouse is moved, the My current workaround is: protected override async void OnPreviewMouseRightButtonDown(MouseButtonEventArgs e)
{
if (_thumb != null)
{
var currentThumbIsHitTestVisible = _thumb.IsHitTestVisible;
_thumb.SetCurrentValue(IsHitTestVisibleProperty, false);
while (Mouse.RightButton == MouseButtonState.Pressed)
{
await Task.Delay(25);
};
_thumb.SetCurrentValue(IsHitTestVisibleProperty, currentThumbIsHitTestVisible);
}
base.OnPreviewMouseRightButtonDown(e);
} But i use TargetFramework 6.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To recreate the bug follow these steps:
Now the tab that was right clicked on will not respond to left click. So the tab cannot be opened.
The process does not have to be 100% like I have describe. It's just one way that will provoke the behavior.
The text was updated successfully, but these errors were encountered: