提交 8ee0d673 编写于 作者: M Martin Zikmund

fix: Use proper RootVisual for pointer up

上级 464a1c33
......@@ -182,7 +182,7 @@ public partial class UIElement : DependencyObject
if (stopPropagation)
{
RootVisual.ProcessPointerUp(routedArgs, isAfterHandledUp: true);
VisualTree.GetRootForElement(this)?.ProcessPointerUp(routedArgs, isAfterHandledUp: true);
}
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册