react-native-resource-calendar 1.1.0 → 1.1.1

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 CHANGED
@@ -807,12 +807,15 @@ var EventGridBlocksSkia = ({
807
807
  const longPressGesture = reactNativeGestureHandler.Gesture.LongPress().onBegin((e) => {
808
808
  "worklet";
809
809
  reactNativeWorklets.scheduleOnRN(onPressBegin, Math.floor(e.y / rowHeight));
810
+ }).onEnd((e) => {
811
+ "worklet";
812
+ reactNativeWorklets.scheduleOnRN(onSlotLongPress, Math.floor(e.y / rowHeight));
810
813
  }).onTouchesUp(() => {
811
814
  "worklet";
812
815
  reactNativeWorklets.scheduleOnRN(onTouchesUp);
813
- }).onEnd((e) => {
816
+ }).onTouchesCancelled(() => {
814
817
  "worklet";
815
- reactNativeWorklets.scheduleOnRN(onSlotLongPress, Math.floor(e.y / rowHeight));
818
+ reactNativeWorklets.scheduleOnRN(onTouchesUp);
816
819
  }).onFinalize(() => {
817
820
  "worklet";
818
821
  reactNativeWorklets.scheduleOnRN(onTouchesUp);
@@ -826,6 +829,9 @@ var EventGridBlocksSkia = ({
826
829
  }).onTouchesUp(() => {
827
830
  "worklet";
828
831
  reactNativeWorklets.scheduleOnRN(onTouchesUp);
832
+ }).onTouchesCancelled(() => {
833
+ "worklet";
834
+ reactNativeWorklets.scheduleOnRN(onTouchesUp);
829
835
  }).onFinalize(() => {
830
836
  "worklet";
831
837
  reactNativeWorklets.scheduleOnRN(onTouchesUp);
@@ -1931,7 +1937,6 @@ var CalendarInner = (props) => {
1931
1937
  scrollEnabled: !selectedEvent,
1932
1938
  ref: flashListRef,
1933
1939
  onScroll: flashListScrollHandler,
1934
- removeClippedSubviews: true,
1935
1940
  data: !isMultiDay ? resourceIds : columns,
1936
1941
  horizontal: true,
1937
1942
  renderItem,