XLabs / portal-bridge-ui

Portal Bridge UI
https://www.portalbridge.com/
25 stars 38 forks source link

[Improvement] Highlight the toggle when option is enabled #1061

Closed tsadovska closed 2 months ago

tsadovska commented 2 months ago

Is there an existing issue for this?

Current Behavior

"Buy more gas for transactions" option is not highlighted when it is enabled.

https://github.com/user-attachments/assets/5d9506f2-f9a3-45f3-83bd-0b5566a58a32

Expected Behavior

"Buy more gas for transactions" option is highlighted when it is enabled.

Issue is not reproducible on wormhole-connect-mainnet (Connect v2).

https://github.com/user-attachments/assets/05bd099a-bb98-4b1a-bd35-b63e6091f675

Steps To Reproduce

  1. Open https://preview.portalbridge.com/0af992dedf/
  2. Prepare to send 0.1 GLMR from Moonbeam (MetaMask) to Celo (MetaMask)
  3. Select "Automatic route" option
  4. Click on "Review transaction" button
  5. Enable / Disable toggle and check if option is highlighted

Environment

- OS: macOS Sonoma 14.5 
- Wallet: MetaMask
- Browser: Google Chrome Version 128.0.6613.120 (Official Build) (arm64)

Anything else?

No response

yuli-ferna commented 2 months ago

@tsadovska I think this should be fix now in the new preview link: https://preview.portalbridge.com/b1f3c5115d/ Result: image

tsadovska commented 2 months ago

Thank you, looks great! Ticket is closed.

tsadovska commented 2 months ago

Reopening the ticket, issue reappeared on https://preview.portalbridge.com/b1f3c5115d/.

Screenshot 2024-09-16 at 09 56 41

tsadovska commented 2 months ago

Issue is no longer reproducible on https://preview.portalbridge.com/b1f3c5115d/.

image

Closing the ticket.