mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Force a layout on the room bubble cell messageTextView to get a correct frame
This commit is contained in:
parent
3329bae7bf
commit
3f3d81b8b6
2 changed files with 5 additions and 0 deletions
|
@ -623,6 +623,10 @@ NSString *const kMXKRoomBubbleCellKeyVerificationIncomingRequestDeclinePressed =
|
|||
selectedComponentHeight = roomBubbleTableViewCell.frame.size.height - selectedComponentPositionY;
|
||||
}
|
||||
|
||||
// Force the textView used underneath to layout its frame properly
|
||||
[roomBubbleTableViewCell setNeedsLayout];
|
||||
[roomBubbleTableViewCell layoutIfNeeded];
|
||||
|
||||
selectedComponenContentViewYOffset = roomBubbleTableViewCell.messageTextView.frame.origin.y;
|
||||
}
|
||||
|
||||
|
|
1
changelog.d/pr-7064.bugfix
Normal file
1
changelog.d/pr-7064.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fixed timeline layout issues for reactions and attachments
|
Loading…
Reference in a new issue