Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added web responsiveness back to date input field #326

Merged
merged 5 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Date/DatePickerInputWithoutModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,18 @@ const styles = StyleSheet.create({
flexGrow: 1,
justifyContent: 'center',
alignItems: 'flex-start',
width: '100%',
},
inputContainer: {
flexGrow: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'flex-start',
width: '100%',
},
input: {
flexGrow: 1,
width: '100%',
},
})
export default React.forwardRef(DatePickerInputWithoutModal)
Original file line number Diff line number Diff line change
Expand Up @@ -3862,6 +3862,7 @@ exports[`renders collapsed AnimatedCrossView 1`] = `
"alignItems": "flex-start",
"flexGrow": 1,
"justifyContent": "center",
"width": "100%",
}
}
>
Expand All @@ -3872,6 +3873,7 @@ exports[`renders collapsed AnimatedCrossView 1`] = `
"flexDirection": "row",
"flexGrow": 1,
"justifyContent": "flex-start",
"width": "100%",
}
}
>
Expand All @@ -3885,6 +3887,7 @@ exports[`renders collapsed AnimatedCrossView 1`] = `
},
{
"flexGrow": 1,
"width": "100%",
},
]
}
Expand Down
3 changes: 3 additions & 0 deletions src/__tests__/Date/__snapshots__/CalendarEdit.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ exports[`renders CalendarEdit 1`] = `
"alignItems": "flex-start",
"flexGrow": 1,
"justifyContent": "center",
"width": "100%",
}
}
>
Expand All @@ -24,6 +25,7 @@ exports[`renders CalendarEdit 1`] = `
"flexDirection": "row",
"flexGrow": 1,
"justifyContent": "flex-start",
"width": "100%",
}
}
>
Expand All @@ -37,6 +39,7 @@ exports[`renders CalendarEdit 1`] = `
},
{
"flexGrow": 1,
"width": "100%",
},
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ exports[`renders DatePickerInput 1`] = `
"alignItems": "flex-start",
"flexGrow": 1,
"justifyContent": "center",
"width": "100%",
}
}
>
Expand All @@ -17,6 +18,7 @@ exports[`renders DatePickerInput 1`] = `
"flexDirection": "row",
"flexGrow": 1,
"justifyContent": "flex-start",
"width": "100%",
}
}
>
Expand All @@ -30,6 +32,7 @@ exports[`renders DatePickerInput 1`] = `
},
{
"flexGrow": 1,
"width": "100%",
},
]
}
Expand Down