-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Labels
Description
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch [email protected] for the project I'm working on.
The DatePickerInput always takes a fixed position that overlaps the other react native paper input inside a View
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-paper-dates/src/Date/DatePickerInputWithoutModal.tsx b/node_modules/react-native-paper-dates/src/Date/DatePickerInputWithoutModal.tsx
index 1c9770c..1963b32 100644
--- a/node_modules/react-native-paper-dates/src/Date/DatePickerInputWithoutModal.tsx
+++ b/node_modules/react-native-paper-dates/src/Date/DatePickerInputWithoutModal.tsx
@@ -142,7 +142,7 @@ function getLabel({
const styles = StyleSheet.create({
root: {
- flex: 1,
+ // flex: 1,
flexGrow: 1,
justifyContent: 'center',
alignItems: 'flex-start',guihigashi