mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
RoomVC: Prevent tableView scroll when displaying contextual menu.
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user