-
Notifications
You must be signed in to change notification settings - Fork 497
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
fix: replace nonce 0, flicker, no spending limit + disable duplite rejections #1300
Conversation
Branch preview✅ Deploy successful! https://tx-replacement-fixes--webcore.review-web-core.5afe.dev |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
)} | ||
/> | ||
<> | ||
<Backdrop open={backdrop} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An interesting workaround, but have you figured out why the flicker happens specifically with this dropdown?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's related to the gas price polling here. The Backdrop
seems to be very tempermental between renders.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like the polling re-renders more than necessary in that form. I would take another look at that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I deleted the backdrop entirely. It now looks the same as the AddressBookInput. Just a dropdown.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without the Backdrop
, the options blur into the background though. It was suggested here:
cc @usame-algan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still puzzled by Backdrop rendering but the workaround works :D
This should now work: I've also included your findings from the epic here as the PR is still open.
|
CLA Assistant Lite All Contributors have signed the CLA. |
* feat: replace specific transactions (#1053) * feat: replace specific transactions * fix: cleanup code * fix: update title * style: change `variant` * fix: replacing `0` nonced transactions * feat: add autocomplete to `NonceForm` nonce (#1059) * feat: replacement modal (#1132) * feat: replace transaction modal w/ stepper * fix: adjust text + padding/margins * fix: adjust alignment + add mobile view * fix: alignment * fix: tweak autocomplete item text * fix: shorten text + add `Backdrop` * Merge branch 'dev' into tx-replacement * fix: replace nonce 0, flicker, no spending limit + disable duplite rejections (#1300) * fix: replace nonce 0, flicker + no spending limit * fix: always allow replacement + nonce `0` * fix: remove tag * Rm backdrop Co-authored-by: katspaugh <[email protected]> Co-authored-by: katspaugh <[email protected]>
What it solves
Resolves isses found here.
How this PR fixes it
How to test it