mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Fix layout bug in the share extension.
This commit is contained in:
@@ -129,6 +129,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (void)setKeyboardHeight:(CGFloat)keyboardHeight
|
||||
{
|
||||
// Bypass inherited keyboard handling to fix layout when searching.
|
||||
// There are no sticky headers to worry about updating.
|
||||
return;
|
||||
}
|
||||
|
||||
#pragma mark - Private
|
||||
|
||||
- (void)showShareAlertForRoomPath:(NSIndexPath *)indexPath
|
||||
@@ -289,6 +296,12 @@
|
||||
// Refresh display
|
||||
[self refreshRecentsTable];
|
||||
}
|
||||
|
||||
// Dismiss the keyboard when scrolling to match the behaviour of the main app.
|
||||
if (self.recentsSearchBar.isFirstResponder)
|
||||
{
|
||||
[self.recentsSearchBar resignFirstResponder];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user