Skip to content

Commit

Permalink
fix for children container view
Browse files Browse the repository at this point in the history
  • Loading branch information
Inbal-Tish committed Aug 20, 2019
1 parent 4e0cce7 commit baffa8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,7 @@
- CalendarProvider - today button size for tablet.
Passing style prop to a container View.
- ExpandableCalendar - adjusting vertical mode open height for tablet in both orientations.

## [1.209.0] - 2019-08-20
### Fix
- CalendarProvider - Fix for children wrapper view.
2 changes: 1 addition & 1 deletion src/expandableCalendar/calendarProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class CalendarProvider extends Component {
render() {
return (
<CalendarContext.Provider value={this.getProviderContextValue()}>
<View style={this.props.style}>
<View style={[{flex: 1}, this.props.style]}>
{this.props.children}
</View>
{this.props.showTodayButton && this.renderTodayButton()}
Expand Down

0 comments on commit baffa8b

Please sign in to comment.