ton-connect / sdk

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

[UI]: send transaction closes tonspace modal in twa web app #119

Closed kai33 closed 11 months ago

kai33 commented 11 months ago

hi ton-connect team,

I'm using @tonconnect/ui-react with version 2.0.0-beta.6 and 2.0.0-beta.7, currently in my telegram web app or mini app, when I call TonConnectUI.sendTransaction(tx) and the tx is successful, it will stay on the ton space page and will not automatically close ton space.

Ideally, the ton space window should be closed and come back to the mini app.

Thanks & Best regards

thekiba commented 11 months ago

The behavior you described has been addressed in TON Connect UI 2.0.0-beta.7.

However, for this fix to function correctly across all devices, we are awaiting an update from TON Space. Once TON Space is updated, the window should close as expected and return to the mini app after a successful transaction.