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

[Android] calling navigation.back() destroyed the layout #130

Open
coyksdev opened this issue Mar 21, 2024 · 0 comments
Open

[Android] calling navigation.back() destroyed the layout #130

coyksdev opened this issue Mar 21, 2024 · 0 comments

Comments

@coyksdev
Copy link

Screen.Recording.2024-03-21.at.11.31.40.AM.mov
<Swiper
        ref={swiperRef}
        key={requests?.data?.length}
        containerStyle={{
          marginTop: responsiveHeight(-5),
        }}
        cards={requests?.data}
        renderCard={renderCard}
        keyExtractor={request => request.id!}
        onSwiped={cardIndex => {
          setSelectedIndex(cardIndex + 1);
        }}
        onSwipedAll={() => {
          setIsSwipedAll(true);
        }}
        backgroundColor="white"
        cardIndex={selectedIndex}
        showSecondCard
        stackSize={requests?.data?.length}
      >
        <Empty description="No requests found" />
      </Swiper>
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

No branches or pull requests

1 participant