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

Address Sheet doesn't trigger onError when pulling down to close. #1614

Open
Kungpowpow opened this issue Feb 21, 2024 · 1 comment
Open

Comments

@Kungpowpow
Copy link

Describe the bug
I can pull or drag down on the AddressSheet to close it, but that doesn't trigger onError. I need onError to trigger so I can toggle my state variable for the visible prop. I can't reopen the AddressSheet because my visible prop stays true, but the sheet is closed.

Expected behavior
I expect pulling down to close the AddressSheet to trigger onError, like pressing the X to close does.

Smartphone (please complete the following information):

  • Device: Iphone 14 pro
  • OS: IOS
    "react-native": "0.72.6",
    "@stripe/stripe-react-native": "0.28.0",
@KirillKaverin
Copy link

I have the same issue. The only way for now is to disable the pull down to close making the presentationStyle={'fullscreen'}. But I don't like the solution because it pull down is much better for my UI

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

2 participants