Skip to content

ERC20 tokens swap widget refresh issue #640

Description

@farman13

I’m facing an issue on mobile web. When swapping two ERC-20 tokens on the same chain, the flow behaves as follows:

  • Token approvals complete successfully
  • The final transaction is submitted and confirmed on-chain
  • Inside the widget, the status remains “Pending” for several minutes (I waited ~5 minutes)
  • After refreshing the mobile web application, the widget then shows “Swap Successful”

So the swap is actually successful on-chain, but the widget UI does not reflect the completed state in real time on mobile unless the page is refreshed.

Could you please help clarify:

  • Why this happens specifically on mobile web?
  • Is this a known issue with route execution or event listeners on mobile browsers?
  • Is there any recommended configuration, callback, or workaround to ensure the widget reflects “Swap Successful” immediately without requiring a refresh?

Image
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions