[UI]: Error [TON_CONNECT_SDK_ERROR] TonConnectError Aborted after attempts 1
triggers without waiting for user input
#296
Labels
bug
Something isn't working
Describe the bug
Upon calling
tonConnectUI.openModal()
, after selecting the OKX Wallet, the error[TON_CONNECT_SDK_ERROR] TonConnectError Aborted after attempts 1
triggers without waiting for any further input from the user.Strangely, as a user, if I ignore the error, I can move forward with the wallet connection. In React the error makes the application testing less smooth as it overlays on top of the screen.
OKX Wallet interface:
React error overlay that stops the user progression:
Expected behavior
I expected that no
abort
error would show if I did not abort anything as a user.Current behavior
Instead I observed that the
abort
error triggers before the user aborts anything.Steps to Reproduce
Environment
npm ls @tonconnect/{ui-react,ui,sdk,protocol,isomorphic-fetch,isomorphic-eventsource}
:├─┬ @tonconnect/[email protected]
│ ├── @tonconnect/[email protected]
│ ├── @tonconnect/[email protected]
│ └── @tonconnect/[email protected]
├─┬ @tonconnect/[email protected]
│ └── @tonconnect/[email protected] deduped
└─┬ @tonconnect/[email protected]
└── @tonconnect/[email protected] deduped
OS:
MacOS
v13.5
Browser:
Chrome
v131.0.6778.109
Additional context
No response
The text was updated successfully, but these errors were encountered: