RoomVC: Prevent tableView scroll when displaying contextual menu.

This commit is contained in:
SBiOSoftWhare
2019-10-29 09:19:37 +01:00
parent f520f83d3f
commit 5191ed8d07

View File

@@ -5437,8 +5437,7 @@
}];
preventBubblesTableViewScroll = YES;
[self selectEventWithId:selectedEventId];
preventBubblesTableViewScroll = NO;
[self selectEventWithId:selectedEventId];
}
- (void)hideContextualMenuAnimated:(BOOL)animated
@@ -5460,11 +5459,11 @@
if (cancelEventSelection)
{
preventBubblesTableViewScroll = YES;
[self cancelEventSelection];
preventBubblesTableViewScroll = NO;
}
preventBubblesTableViewScroll = NO;
[self.roomContextualMenuPresenter hideContextualMenuWithAnimated:animated completion:^{
[self enableOverlayContainerUserInteractions:NO];