wix / react-native-calendars

React Native Calendar Components 🗓️ 📆
MIT License
9.47k stars 2.94k forks source link

AgendaList onScrollToIndexFailed error #1578

Closed KrisLau closed 2 years ago

KrisLau commented 3 years ago

Description

Getting this error wherever I display the Agenda list. The call stack seems to point to the scrollToSection method in AgendaList. Doesn't seem to be causing any particular problems other than the error popping up. image

Expected Behavior

Display AgendaList without error

Observed Behavior

AgendaList error is displayed. Actual error message in this code block:

onScrollToIndexFailed info:  {"averageItemLength": 0, "highestMeasuredFrameIndex": 0, "index": 3}

Environment

Also specify:

  1. Emulator & OS version:
    • Pixel 3a API 30 (Android 11.0)

Reproducible Demo

I can't seem to repro it in a snack but here's the one I created which basically has the same code: https://snack.expo.dev/Mc43D8SeT

Screenshots

image image Screenshots or gifs of the issue and the suggested fix will help us move faster with the review process.

KrisLau commented 3 years ago

Still running into this error if anyone would be willing to help shed a light on this for me. Additional information I've found out since the original posting is that the error only occurs in Android but not iOS.

(Didn't mean to close the issue earlier)

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.