提交 d8753480 编写于 作者: J Joao Moreno

list: dont cancel list mouse events

上级 3c5078e4
...@@ -348,8 +348,6 @@ class MouseController<T> implements IDisposable { ...@@ -348,8 +348,6 @@ class MouseController<T> implements IDisposable {
} }
private onMouseDown(e: IListMouseEvent<T>): void { private onMouseDown(e: IListMouseEvent<T>): void {
e.preventDefault();
e.stopPropagation();
this.view.domNode.focus(); this.view.domNode.focus();
let reference = this.list.getFocus()[0]; let reference = this.list.getFocus()[0];
...@@ -373,9 +371,6 @@ class MouseController<T> implements IDisposable { ...@@ -373,9 +371,6 @@ class MouseController<T> implements IDisposable {
} }
private onPointer(e: IListMouseEvent<T>): void { private onPointer(e: IListMouseEvent<T>): void {
e.preventDefault();
e.stopPropagation();
if (isSelectionChangeEvent(e)) { if (isSelectionChangeEvent(e)) {
return; return;
} }
...@@ -388,9 +383,6 @@ class MouseController<T> implements IDisposable { ...@@ -388,9 +383,6 @@ class MouseController<T> implements IDisposable {
} }
private onDoubleClick(e: IListMouseEvent<T>): void { private onDoubleClick(e: IListMouseEvent<T>): void {
e.preventDefault();
e.stopPropagation();
if (isSelectionChangeEvent(e)) { if (isSelectionChangeEvent(e)) {
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册