DatePickerIOS is not displayed properly in 4in screens

The component works perfectly in iPhone 6 and 6 Plus.
I don't know if this is something from my side. Posting the component code here as well:
<View style={styles.Section}> <Text style={styles.FormTitle}>Deadline: {dateFormat(this.state.deadline, "ddd, mmm dS, h:MM TT")}</Text> <DatePickerIOS date={this.state.deadline} mode="datetime" onDateChange={(deadline) => { this.setState({ deadline }); }} /> </View>
What's defined in {styles.Section}?
Section: { backgroundColor: '#ffffff', borderRadius: 5, marginTop: 20, marginLeft: 5, marginRight: 5, padding: 10, shadowColor: "#DDDDDD", shadowOpacity: 1, shadowRadius: 2, shadowOffset: { height: 1, width: 0 } },
Have you tried remove all margins and padding to test?
Hi, Sorry for the late reply. Yes I've tried. Both from the component and the parent. That only partially solved the issue. It was still not properly in center.