Convert onboarding dropdown menus into modals

This commit is contained in:
Keannu Bernasol 2023-10-19 18:53:54 +08:00
parent f098db0dca
commit a0d27aaa38

View file

@ -195,7 +195,13 @@ export default function Onboarding() {
...styles.text_white_small_bold, ...styles.text_white_small_bold,
...{ textAlign: "center" }, ...{ textAlign: "center" },
}} }}
dropDownContainerStyle={{ backgroundColor: colors.primary_2 }} modalContentContainerStyle={{
backgroundColor: colors.primary_2,
borderWidth: 0,
zIndex: 1000,
}}
dropDownDirection="BOTTOM"
listMode="MODAL"
/> />
<DropDownPicker <DropDownPicker
zIndex={2000} zIndex={2000}
@ -215,7 +221,13 @@ export default function Onboarding() {
...styles.text_white_small_bold, ...styles.text_white_small_bold,
...{ textAlign: "center" }, ...{ textAlign: "center" },
}} }}
dropDownContainerStyle={{ backgroundColor: colors.primary_2 }} modalContentContainerStyle={{
backgroundColor: colors.primary_2,
borderWidth: 0,
zIndex: 1000,
}}
dropDownDirection="BOTTOM"
listMode="MODAL"
/> />
<DropDownPicker <DropDownPicker
zIndex={1000} zIndex={1000}
@ -235,7 +247,13 @@ export default function Onboarding() {
...styles.text_white_small_bold, ...styles.text_white_small_bold,
...{ textAlign: "center" }, ...{ textAlign: "center" },
}} }}
dropDownContainerStyle={{ backgroundColor: colors.primary_2 }} modalContentContainerStyle={{
backgroundColor: colors.primary_2,
borderWidth: 0,
zIndex: 1000,
}}
dropDownDirection="BOTTOM"
listMode="MODAL"
/> />
</MotiView> </MotiView>
<MotiView <MotiView