mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Fix drag of non-sequential rows in Firefox
When selecting multiple rows with Ctrl, drag would not work
This commit is contained in:
parent
a5b3c83a54
commit
b03dac3032
@ -157,12 +157,7 @@ export class EgwDragActionImplementation implements EgwActionImplementation {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
node.addEventListener("mouseup", (event) => {
|
node.addEventListener("mouseup", (event) => {
|
||||||
if (_context.isSelection(event) && document.getSelection().type === 'Range') {
|
node.setAttribute("draggable", true);
|
||||||
//let the draggable be reactivated by another click up as the range selection is
|
|
||||||
// not working as expected in shadow-dom as expected in all browsers
|
|
||||||
} else {
|
|
||||||
node.setAttribute("draggable", true);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set cursor back to auto. Seems FF can't handle cursor reversion
|
// Set cursor back to auto. Seems FF can't handle cursor reversion
|
||||||
document.body.style.cursor = 'auto'
|
document.body.style.cursor = 'auto'
|
||||||
|
Loading…
Reference in New Issue
Block a user