Skip to content

Conversation

thoounn
Copy link

@thoounn thoounn commented Dec 13, 2020

To be able to place the "Click me" button where ever you want without breaking the popup position.

Ex:

<DateRangePicker
    ...
    backdropStyle={styles.datePickerBackdropStyle}
    childrenContainerStyle={styles.datePickerChildrenContainerStyle}
>
    <Text>Click Me</Text>
</ DateRangePicker>

And for the styles:

datePickerBackdropStyle: {
    width: "100%",
    height: "100%"
},
datePickerChildrenContainerStyle: {
    position: "absolute",
    top: 0,
    left: 0
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant