Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Month" view completely hang and not rendering data. #1059

Open
mahipalsingh-syt opened this issue Jun 24, 2024 · 1 comment
Open

"Month" view completely hang and not rendering data. #1059

mahipalsingh-syt opened this issue Jun 24, 2024 · 1 comment

Comments

@mahipalsingh-syt
Copy link

mahipalsingh-syt commented Jun 24, 2024

"Month" view is not rendering its completely hang when we pass data
I tried below data and not working.
https://github.com/acro5piano/react-native-big-calendar/blob/main/rndemo/App.tsx
I have also tried enrichedEventsByDate but nothing rendering on screen.

Simulator Screenshot - iPad Air (5th generation) - 2024-06-25 at 09 15 19

  
<Calendar
      events={[]} //passing empty because value passed in enrichedEventsByDate
      date={date}
      activeDate={date}
      weekStartsOn={1}
      scrollOffsetMinutes={480}
      overlapOffset={mode == CalendarMode.DAY ? 100 : 25}
      mode={mode}
      height={HEIGHT}
      calendarCellStyle={styles.cellStyle}
      onPressEvent={onPressEvent}
      onPressCell={onPressCell}
      headerContainerStyle={genericStyles.marginTop20}
      swipeEnabled={true}
      
      eventsAreSorted={true}
      isEventOrderingEnabled={true}
      enableEnrichedEvents={true}
      enrichedEventsByDate={eventsNew}

      onSwipeEnd={onSwipeEnd}
      onPressDateHeader={onPressDateHeader}
      onPressMoreLabel={onPressMoreLabel}
    />
    ```






**React native version: 0.73.6**
react-native-big-calendar: "^4.13.2",
xcode: 15.3

@mahipalsingh-syt
Copy link
Author

try data with 50+ events for month to reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant