[CIS-1207, CIS-1232] Fix crash and swapping the long-pressed message on ChatMessagePopupVC
#1596
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
馃敆 Issue Link
CIS-1207, CIS-1232
馃幆 Goal
ChatMessagePopupVC
is dismissed when the message is outside the visible area of the message list馃洜 Implementation
Stop passing
ChatMessageContentView
across the message list and pop-up view hierarchies and pass the copy instead.Therefore, the following subviews are removed from
MessageActionsTransitionController
:馃И Testing
Manual testing:
DemoApp
on 2 devicesLuke
andLeia
Luke
, observe the message received byLeia
Leia
Luke
Expected result:
The message long-pressed by
Leia
is not swapped with the new message馃帹 Changes
The message inside the pop-up is not swapped:
no-swap.mov
When the pop-up is shown giffy restarts but plays smoothly because the actual view is used while the transition and not the snapshot:
smooth.gif.mp4
鈽戯笍 Checklist