-
Notifications
You must be signed in to change notification settings - Fork 291
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: Prepare image placeholder for not loaded image and prevent jumping #16941
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #16941 +/- ##
==========================================
+ Coverage 46.03% 46.08% +0.04%
==========================================
Files 746 746
Lines 24395 24411 +16
Branches 5582 5585 +3
==========================================
+ Hits 11231 11249 +18
+ Misses 11746 11743 -3
- Partials 1418 1419 +1 |
{[StatusType.FAILED, StatusType.FEDERATION_ERROR].includes(status) && ( | ||
<CompleteFailureToSendWarning | ||
{...(status === StatusType.FEDERATION_ERROR && {unreachableDomain: conversation.domain})} | ||
isMessageFocused={msgFocusState} | ||
onRetry={() => onRetry(message)} | ||
/> | ||
)} | ||
|
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.
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.
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 revereted it manually.
Description
Before: Image placeholder won't render correctly, have different size than rendered image.
Now: Image placeholder and image has same size.
Screenshots/Screencast (for UI changes)
Checklist
Important details for the reviewers
(Delete this section if unnecessary)