Limit the force-click during drag fix to macOS (4fb0661b
)
This commit is contained in:
parent
9feb2fc6cf
commit
3ff650f046
1 changed files with 3 additions and 1 deletions
|
@ -669,7 +669,9 @@ class VirtualizedTable extends React.Component {
|
||||||
// causing a collection change on dragend, so we add a delay here. It shouldn't cause any issues
|
// causing a collection change on dragend, so we add a delay here. It shouldn't cause any issues
|
||||||
// because isMouseDrag is only used in mouseup handler to exactly prevent from accidentally switching
|
// because isMouseDrag is only used in mouseup handler to exactly prevent from accidentally switching
|
||||||
// selection after dragend.
|
// selection after dragend.
|
||||||
await Zotero.Promise.delay(500);
|
if (Zotero.isMac) {
|
||||||
|
await Zotero.Promise.delay(500);
|
||||||
|
}
|
||||||
this._isMouseDrag = false;
|
this._isMouseDrag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue