mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +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
26de0ab801
commit
3f18031cfd
@ -157,12 +157,7 @@ export class EgwDragActionImplementation implements EgwActionImplementation {
|
||||
}
|
||||
})
|
||||
node.addEventListener("mouseup", (event) => {
|
||||
if (_context.isSelection(event) && document.getSelection().type === 'Range') {
|
||||
//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);
|
||||
}
|
||||
node.setAttribute("draggable", true);
|
||||
|
||||
// Set cursor back to auto. Seems FF can't handle cursor reversion
|
||||
document.body.style.cursor = 'auto'
|
||||
|
Loading…
Reference in New Issue
Block a user