@forcecalendar/interface 1.0.30 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/force-calendar-interface.esm.js +15 -11
- package/dist/force-calendar-interface.esm.js.map +1 -1
- package/dist/force-calendar-interface.umd.js +2 -2
- package/dist/force-calendar-interface.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/EventForm.js +4 -1
- package/src/core/StateManager.js +5 -1
package/package.json
CHANGED
|
@@ -347,7 +347,10 @@ export class EventForm extends BaseComponent {
|
|
|
347
347
|
this.endInput.value = this.formatDateForInput(this._formData.end);
|
|
348
348
|
this.updateColorSelection();
|
|
349
349
|
|
|
350
|
-
//
|
|
350
|
+
// Clean up previous focus trap before creating a new one
|
|
351
|
+
if (this._cleanupFocusTrap) {
|
|
352
|
+
this._cleanupFocusTrap();
|
|
353
|
+
}
|
|
351
354
|
this._cleanupFocusTrap = DOMUtils.trapFocus(this.modalContent);
|
|
352
355
|
}
|
|
353
356
|
}
|
package/src/core/StateManager.js
CHANGED