Skip to content

Commit 25a27ab

Browse files
authored
Merge pull request #1705 from cmorbitzer/expandable-hideextradays-only-when-open
Only hide extra days on ExpandableCalendar when open
2 parents d2e3296 + eb7ec15 commit 25a27ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expandableCalendar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ class ExpandableCalendar extends Component<Props, State> {
588588
hideArrows={this.shouldHideArrows()}
589589
onPressArrowLeft={this.onPressArrowLeft}
590590
onPressArrowRight={this.onPressArrowRight}
591-
hideExtraDays={!horizontal}
591+
hideExtraDays={!horizontal && isOpen}
592592
renderArrow={this.renderArrow}
593593
staticHeader
594594
/>

0 commit comments

Comments
 (0)