Skip to content
Discussion options

You must be logged in to vote

@GorbunovV

I solved the issue by wrapping the insides of a TrueSheet with GestureHandlerRootView (react-native-gesture-handler) with style={{ flexGrow: 1 }}

<ReanimatedTrueSheet
  ref={ref}
  detents={["auto", 0.7]}
  backgroundColor={Colors[colorScheme].background2}
>
  <GestureHandlerRootView style={{ flexGrow: 1 }}>
    <View style={styles.sheetContainer}>
      <Text>
        You will be logged out of the app and need to login again to
        continue.
      </Text>
      <View style={{ gap: Sizes.spacings.s4, flexDirection: "column" }}>
        <ButtonCustom
          style={{ width: "100%" }}
          label="Log Out"
          onPress={handleLogout}
          variant="error"
     …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@GorbunovV
Comment options

@lodev09
Comment options

Answer selected by lodev09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants