ton-connect / sdk

SDK for TON Connect 2.0 — a comprehensive communication protocol between wallets and apps in TON ecosystem
Apache License 2.0
329 stars 96 forks source link

UI-REACT: Success modal does not close #163

Open webdeb opened 6 months ago

webdeb commented 6 months ago

Describe the bug

Success Modal does not close. image

Expected behavior

The success modal should either close automatically, or even better, provide an api to close the modal, because its convenient to wait for some result (TonWeb checking balance etc..)

Current behavior

When using modals: "all" or modals: ["success"] the success modal does not close at all.

Steps to Reproduce

  1. Execute: tonConnectUI.sendTransaction(..., { modal: "all"})

  2. Confirm the transaction

  3. Back in the app the modal will not close.

Environment

ios / react

Additional context

No response