Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SignOrExecuteForm child components unmounting before closing #1923

Closed
iamacook opened this issue Apr 28, 2023 · 3 comments
Closed

SignOrExecuteForm child components unmounting before closing #1923

iamacook opened this issue Apr 28, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@iamacook
Copy link
Member

Bug description

When executing a transaction, after signing, some components within the SignOrExecuteForm unmount due to flag changes.

useImmediatelyExecutable internally checks whether a transaction is pending and during the proposal period, this causes elements to unmount, e.g. the "Execute transaction` checkbox, execution method selector, as well as fee details.

Note: before fixing this, we should consider instead including it in the upcoming refactor of the transaction modal.

Environment

  • Browser: Firefox
  • Wallet: MetaMask
  • Chain: All

Steps to reproduce

Create a transaction and after signing its relay, observe the flicker within the modal.

Expected result

All components remain mouned until the modal closes.

Obtained result

Some components unmount before the modal closes.

Screenshots

modal flikr

@iamacook iamacook added the bug Something isn't working label Apr 28, 2023
@katspaugh
Copy link
Member

@iamacook is this still the case in epic-tx-redesign?

@iamacook
Copy link
Member Author

@iamacook is this still the case in epic-tx-redesign?

Yes

@katspaugh
Copy link
Member

Seems to be still the case but it doesn't break anything.

@katspaugh katspaugh closed this as not planned Won't fix, can't repro, duplicate, stale Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants