React-native-calendars: CalendarList not showing up until scroll

Created on 31 Aug 2019  Â·  5Comments  Â·  Source: wix/react-native-calendars

Please make our job easier by filling this template out to completion. If you're requesting a feature instead of reporting a bug, please feel free to skip the Environment and Reproducible Demo sections.

Description

CalendarList is not rendering until I try to scroll on the parent element.

Expected Behavior

Everything should be rendered without me needing to scroll first.

Observed Behavior

Container is empty, nothing is rendered.

Environment

Please run these commands in the project folder and fill in their results:

  • npm ls react-native-calendars: 1.212.0
  • npm ls react-native: 0.59.5

Also specify:

  1. Phone/emulator/simulator & version: iPhone Xr & iOS 12.2

Reproducible Demo

Please provide a minimized reproducible demonstration of the problem you're reporting.

Issues that come with minimal repro's are resolved much more quickly than issues where a maintainer has to reproduce themselves.

Most helpful comment

add removeClippedSubviews={false} to CalendarList props solved it for me ✅

<CalendarList
            removeClippedSubviews={false}
           ... props
/>

All 5 comments

Same issue for me

Same

+1

add removeClippedSubviews={false} to CalendarList props solved it for me ✅

<CalendarList
            removeClippedSubviews={false}
           ... props
/>

Should be fixed by #1244

Was this page helpful?
0 / 5 - 0 ratings

Related issues

microwin168 picture microwin168  Â·  4Comments

chapeljuice picture chapeljuice  Â·  3Comments

sonnguyenit picture sonnguyenit  Â·  3Comments

Yandamuri picture Yandamuri  Â·  4Comments

dobiedad picture dobiedad  Â·  4Comments