aboutsummaryrefslogtreecommitdiffstats
path: root/library/fullcalendar/packages/interaction/index.global.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/fullcalendar/packages/interaction/index.global.js')
-rw-r--r--library/fullcalendar/packages/interaction/index.global.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/fullcalendar/packages/interaction/index.global.js b/library/fullcalendar/packages/interaction/index.global.js
index 296460d0e..5691ad90d 100644
--- a/library/fullcalendar/packages/interaction/index.global.js
+++ b/library/fullcalendar/packages/interaction/index.global.js
@@ -1,7 +1,7 @@
/*!
-FullCalendar Interaction Plugin v6.0.3
+FullCalendar Interaction Plugin v6.1.8
Docs & License: https://fullcalendar.io/docs/editable
-(c) 2022 Adam Shaw
+(c) 2023 Adam Shaw
*/
FullCalendar.Interaction = (function (exports, core, internal) {
'use strict';
@@ -380,7 +380,7 @@ FullCalendar.Interaction = (function (exports, core, internal) {
mirrorEl = this.mirrorEl = this.sourceEl.cloneNode(true); // cloneChildren=true
// we don't want long taps or any mouse interaction causing selection/menus.
// would use preventSelection(), but that prevents selectstart, causing problems.
- mirrorEl.classList.add('fc-unselectable');
+ mirrorEl.style.userSelect = 'none';
mirrorEl.classList.add('fc-event-dragging');
internal.applyStyle(mirrorEl, {
position: 'fixed',
@@ -670,7 +670,7 @@ FullCalendar.Interaction = (function (exports, core, internal) {
els.push(query);
}
else {
- els.push(...Array.prototype.slice.call(internal.getElRoot(scrollStartEl).querySelectorAll(query)));
+ els.push(...Array.prototype.slice.call(scrollStartEl.getRootNode().querySelectorAll(query)));
}
}
return els;
@@ -1330,7 +1330,7 @@ FullCalendar.Interaction = (function (exports, core, internal) {
this.dragging.setMirrorNeedsRevert(!mutation);
// render the mirror if no already-rendered mirror
// TODO: wish we could somehow wait for dispatch to guarantee render
- this.dragging.setMirrorIsVisible(!hit || !internal.getElRoot(this.subjectEl).querySelector('.fc-event-mirror'));
+ this.dragging.setMirrorIsVisible(!hit || !this.subjectEl.getRootNode().querySelector('.fc-event-mirror'));
// assign states based on new hit
this.receivingContext = receivingContext;
this.validMutation = mutation;