react-native-resource-calendar 1.0.21 → 1.0.22
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1472,7 +1472,7 @@ var CalendarInner = (props) => {
|
|
|
1472
1472
|
}, [selectedEvent, setSelectedEvent, setDraggedEventDraft]);
|
|
1473
1473
|
React19.useEffect(() => {
|
|
1474
1474
|
scrollX.value = 0;
|
|
1475
|
-
}, [mode]);
|
|
1475
|
+
}, [mode, numberOfColumns]);
|
|
1476
1476
|
const verticalScrollViewRef = Animated2.useAnimatedRef();
|
|
1477
1477
|
const headerScrollViewRef = Animated2.useAnimatedRef();
|
|
1478
1478
|
const flashListRef = React19.useRef(null);
|
|
@@ -1844,7 +1844,7 @@ var CalendarInner = (props) => {
|
|
|
1844
1844
|
stableOnDisabledBlockPress,
|
|
1845
1845
|
dateRef
|
|
1846
1846
|
]);
|
|
1847
|
-
return /* @__PURE__ */ React19__namespace.default.createElement(React19__namespace.default.Fragment, null, /* @__PURE__ */ React19__namespace.default.createElement(StoreFeeder, { resources, store: binding, baseDate: date }), /* @__PURE__ */ React19__namespace.default.createElement(reactNative.View, { style: { flex: 1 } }, !isMultiDay ? /* @__PURE__ */ React19__namespace.default.createElement(reactNative.View,
|
|
1847
|
+
return /* @__PURE__ */ React19__namespace.default.createElement(React19__namespace.default.Fragment, null, /* @__PURE__ */ React19__namespace.default.createElement(StoreFeeder, { resources, store: binding, baseDate: date }), /* @__PURE__ */ React19__namespace.default.createElement(reactNative.View, { style: { flex: 1 } }, !isMultiDay ? /* @__PURE__ */ React19__namespace.default.createElement(reactNative.View, { key: `header-${numberOfColumns}-${width}` }, /* @__PURE__ */ React19__namespace.default.createElement(
|
|
1848
1848
|
Animated2__default.default.ScrollView,
|
|
1849
1849
|
{
|
|
1850
1850
|
style: { backgroundColor: "white" },
|