XLabs / portal-bridge-ui

Portal Bridge UI
https://www.portalbridge.com/
21 stars 34 forks source link

[bug] Cannot connect WalletConnect wallet #844

Open tsadovska opened 2 months ago

tsadovska commented 2 months ago

Is there an existing issue for this?

Current Behavior

An error appears after clicking on "WalletConnect" option:

TypeError: Cannot set property signal of [object AbortController] which has only a getter
    at pb-index-DrUOIUci.js:734:9470
    at Ut.addKeyboardEvents (index-BNwGsa-t-j_2IJeAg.js:54:67520)
    at Ut.onOpenModalEvent (index-BNwGsa-t-j_2IJeAg.js:54:66822)
    at index-BNwGsa-t-j_2IJeAg.js:54:66174
    at index-XoQjK7BX-BuyBC5mK.js:7:10982
    at index-XoQjK7BX-BuyBC5mK.js:7:3327
    at io.invoke (pb-index-DrUOIUci.js:733:6920)
    at $o.run (pb-index-DrUOIUci.js:733:1929)
    at pb-index-DrUOIUci.js:734:647
    at io.invokeTask (pb-index-DrUOIUci.js:733:7579)

Expected Behavior

WalletConnect pop-up appears.

Steps To Reproduce

  1. Open https://preview.portalbridge.com/bceadc8c64/
  2. Select Avalanche network as source chain
  3. Click on "Connect wallet" button
  4. Select "WalletConnect" option

Environment

- OS: macOS Sonoma 14.4.1 
- Wallet: WalletConnect
- Browser: Google Chrome Version 124.0.6367.119 (Official Build) (arm64)

Anything else?

https://portalbridge.com/ - Tested OK https://preview.portalbridge.com/bceadc8c64/ - Tested NOK

image

lvandernoll commented 1 month ago

For me, having this issue in a different codebase, adding the downgraded dependency zone.js@0.14.2 my codebase fixed this issue