XLabs / wormscan-ui

5 stars 3 forks source link

[Bug] Vaa-Parser: Repeated Dropdown Interactions Freezing the Page #605

Open SamantaCasal opened 6 months ago

SamantaCasal commented 6 months ago

Description: Where repeatedly opening and closing a dropdown on the Decoded VAA field results in the entire page freezing. This bug prevents any further interaction with the page, forcing users to reload or restart their browser session.

The expected behavior is that users should be able to open and close dropdowns as often as necessary without any degradation in page performance.

Steps To Reproduce

  1. Go to the VAA parser at https://xlabs.github.io/wormscan-ui/#/vaa-parser.
  2. Enter a valid VAA, transaction hash, or VAA ID into the appropriate field and submit it for parsing.
  3. Once the Decoded VAA information is displayed, repeatedly open and close any of the dropdown elements in the Decoded VAA field.
  4. Observe the responsiveness of the page after several toggles of the dropdown.

Evidence

https://github.com/XLabs/wormscan-ui/assets/69044575/85a7682f-03b1-48f4-914c-ff259972b1ec

SamantaCasal commented 5 months ago

Mainnet OK!

https://github.com/XLabs/wormscan-ui/assets/69044575/6b0c3842-a138-41a9-967b-67e2430b5daa