Skip to content

ExpandableCalendar component is fully transparent within a production build. #2625

@EnriqueSarmiento

Description

@EnriqueSarmiento

Hey guys. I am experiencing a very annoying issue with the ExpandableCalendar component. I'm using this library package for a while now and all of the sudden the component is fully transparent on a production build. I'm developing this app with expo ~49.0.15 and react-native-calendars ^1.1307.0. I have tried several approaches to tackle this issue but I haven't found a solution. I've been stuck here for a while.

### DOCUMENTATION
Image

`
<ExpandableCalendar
key={user?.id}
firstDay={1}
theme={{
arrowColor: 'rgba(163, 163, 163, 1)',
arrowHeight: 5,
arrowWidth: 5,
calendarBackground: '#1E1E1E',
dayTextColor: 'rgba(245, 245, 245, 1)',
dotColor: 'rgba(248, 211, 71, 1)',
indicatorColor: 'rgba(248, 211, 71, 1)',
monthTextColor: 'rgba(163, 163, 163, 1)',
selectedDayBackgroundColor: 'rgba(248, 211, 71, 1)',
selectedDayTextColor: 'rgba(23, 23, 23, 1)',
selectedDotColor: 'rgba(23, 23, 23, 1)',
textDayHeaderFontFamily: 'InterMedium',
textDayHeaderFontSize: 12,
textDayHeaderFontWeight: '600',
textMonthFontFamily: 'InterMedium',
textMonthFontSize: 12,
textMonthFontWeight: '600',
textSectionTitleColor: 'rgba(163, 163, 163, 1)',
todayTextColor: 'rgba(248, 211, 71, 1)',
}}
// style={{
// shadowColor: 'transparent',
// }}
futureScrollRange={12}
pastScrollRange={0}
refreshing={false}
/>

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions