-
Notifications
You must be signed in to change notification settings - Fork 17
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 animation related to privacy warning message #1290
Comments
I see three simple ways to resolve this. I included screenshots for all cases. My personal preference is B, C, A in this order. Curious to hear your thoughts @penumbra-zone/web-reviewers |
after more info from Tal, the right way to proceed is to make both of the dialogs appear at the same time, instead of changing the height of the fee part directly. |
@VanishMax can you sanity-check the issue accurately captures the original intention for the suggestion you made? |
@vacekj thanks for the ideas with detailed screenshots. I believe the C options suits our needs – displaying the empty value for a fraction of a second is, in my opinion, better than having multiple jumps and worsening the cumulative layout shift (CLS). The option B looks goon on the screenshot but in many cases would not fit into the view |
Going for option C here, debugging why Fee doesn't also contain the asssetId. |
can you elaborate? |
@TalDerei I'm going with option C, which displays a zero value before the actual fee is loaded, avoiding any CLS in the fee dialog. While implementing this, I realized that the |
thanks for taking this on! |
fix the height for the gas calculation, so only one jump happens
Screen.Recording.2024-06-12.at.11.47.22.PM.mov
The text was updated successfully, but these errors were encountered: