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

[UI]: 'back' return strategy don't work #302

Open
cybersanya opened this issue Dec 17, 2024 · 1 comment
Open

[UI]: 'back' return strategy don't work #302

cybersanya opened this issue Dec 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cybersanya
Copy link

cybersanya commented Dec 17, 2024

Describe the bug

Default 'back' strategy doesn't redirect user back after connecting wallet or after transaction. Specifying returnStrategy with custom return url doesn't work either.

Expected behavior

After connecting wallet or approving/declining transactions users would be redirected back to my app

Current behavior

After connecting wallet or approving/declining transactions users stay in telegram app

Steps to Reproduce

  1. Create a blank web app
  2. Install and setup tonconnect/ui with zero config, only manifestUrl.
  3. Open the app in any browser (or as telegram mini app)
  4. Call tonConnectUI.openModal()
  5. Select default wallet (Wallet on Telegram)
  6. Confirm connection in telegram app
  7. Redirect back doesn't happen

Environment

@tonconnect/ui: 2.0.9
MacOS 14.1, IOS 17.6.1
Safari / Chrome / Firefox / Telegram Mini App

Additional context

No response

@cybersanya cybersanya added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@thekiba @cybersanya and others