File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
ElementX/Sources/Screens/Timeline/View Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ struct TimelineItemBubbledStylerView<Content: View>: View {
93
93
// N.B. we can't combine two paddings together without triggering popping.
94
94
. padding ( . top, messageBubbleTopPadding)
95
95
// don't reanimate bubble layouts if we're just changing the messageBubbleTopPadding
96
- // .animation(nil, value: messageBubbleTopPadding)
96
+ . animation ( nil , value: messageBubbleTopPadding)
97
97
. highlightedTimelineItem ( isFocussed)
98
98
}
99
99
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ struct TimelineItemStatusView: View {
34
34
} else if isSendReceiptVisible {
35
35
// we were the last msg in the timeline, but not any more
36
36
// so remove the SR after a short delay to avoid racing with the new msg animation
37
- DispatchQueue . main. asyncAfter ( deadline: . now( ) + 0.01 ) {
37
+ DispatchQueue . main. asyncAfter ( deadline: . now( ) + 0.2 ) {
38
38
withAnimation {
39
39
isSendReceiptVisible = false
40
40
}
@@ -64,6 +64,7 @@ struct TimelineItemStatusView: View {
64
64
if isSendReceiptVisible {
65
65
// We only display the sent icon for the latest outgoing message
66
66
TimelineDeliveryStatusView ( deliveryStatus: . sent)
67
+ // .transition(.identity) // makes the SR disappear rapidly to avoid ugly z-index flickering
67
68
}
68
69
case . sendingFailed:
69
70
// Bubbles handle the case internally
You can’t perform that action at this time.
0 commit comments