react-native-resource-calendar 1.1.9 → 1.1.10
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/README.md +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1366,7 +1366,8 @@ var CalendarInner = (props) => {
|
|
|
1366
1366
|
eventStyleOverrides,
|
|
1367
1367
|
overLappingLayoutMode = "stacked",
|
|
1368
1368
|
mode = "day",
|
|
1369
|
-
activeResourceId
|
|
1369
|
+
activeResourceId,
|
|
1370
|
+
scrollsToTop = true
|
|
1370
1371
|
} = props;
|
|
1371
1372
|
const numberOfColumns = mode === "day" ? numberOfColumnsProp : mode === "week" ? 7 : 3;
|
|
1372
1373
|
const isMultiDay = mode !== "day";
|
|
@@ -1869,6 +1870,7 @@ var CalendarInner = (props) => {
|
|
|
1869
1870
|
onScroll: verticalScrollHandler,
|
|
1870
1871
|
ref: verticalScrollViewRef,
|
|
1871
1872
|
scrollEventThrottle: 16,
|
|
1873
|
+
scrollsToTop,
|
|
1872
1874
|
snapToInterval: hourHeight,
|
|
1873
1875
|
decelerationRate: "fast",
|
|
1874
1876
|
snapToAlignment: "start",
|