未验证 提交 e9ed38cd 编写于 作者: J João Moreno 提交者: GitHub

Merge pull request #49747 from manixate/exclude_scrollbar_drop

Prevent scrollbar to be considered as a drop target for drag-and-drop
......@@ -1674,7 +1674,7 @@ export class TreeView extends HeightMap {
return candidate;
}
if (element === document.body) {
if (element === this.scrollableElement.getDomNode() || element === document.body) {
return null;
}
} while (element = element.parentElement);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册