Skip to content

Commit

Permalink
fix(datepicker): fix datepicker Modal adaptation with different width…
Browse files Browse the repository at this point in the history
… on ios
  • Loading branch information
feyy committed May 19, 2016
1 parent 6d5e091 commit b3234bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

### Breaking Change

* Upgrade Requiring React API, Requiring from react-native is now deprecated. Work after 0.24.[53b0846](https://github.com/xgfe/react-native-datepicker/commit/53b0846)
* Upgrade Requiring React API, Requiring from react-native is now deprecated. Work after 0.24.([53b0846](https://github.com/xgfe/react-native-datepicker/commit/53b0846))

<a name="1.1.0"></a>
# [1.1.0](https://github.com/xgfe/react-native-datepicker/compare/v1.0.3...v1.1.0) (2016-05-06)
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ class DatePicker extends Component {
>
<TouchableHighlight
underlayColor={'#fff'}
style={{flex:1}}
>
<Animated.View style={[Style.datePickerCon, {height: this.state.animatedHeight}, this.customStyles.datePickerCon]}>
<DatePickerIOS
Expand Down
1 change: 1 addition & 0 deletions style.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ let style = StyleSheet.create({
right: 0
},
datePicker: {
alignItems: 'center',
marginTop: 42,
borderTopColor: '#ccc',
borderTopWidth: 1
Expand Down

0 comments on commit b3234bd

Please sign in to comment.