makula-schedule 1.1.7 → 1.1.8
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/components/EventItem.js +3 -3
- package/dist/css/style.css +3 -9148
- package/package.json +1 -1
|
@@ -539,9 +539,9 @@ var EventItem = /*#__PURE__*/function (_Component) {
|
|
|
539
539
|
});
|
|
540
540
|
}
|
|
541
541
|
|
|
542
|
-
// Re-subscribe when resize-related props change
|
|
543
|
-
// (
|
|
544
|
-
if (prevProps.
|
|
542
|
+
// Re-subscribe when resize-related props change or when position/size changes
|
|
543
|
+
// (size changes indicate a resize occurred and DOM elements may have been recreated)
|
|
544
|
+
if (prevProps.schedulerData !== this.props.schedulerData || prevProps.eventItem !== this.props.eventItem || prevProps.isInPopover !== this.props.isInPopover || prevProps.left !== left || prevProps.top !== top || prevProps.width !== width) {
|
|
545
545
|
this.subscribeResizeEvent(this.props);
|
|
546
546
|
}
|
|
547
547
|
}
|