Fix layout bug in the share extension.

This commit is contained in:
Doug
2021-07-13 16:54:30 +01:00
parent 58ec6bb3c4
commit ec09b1815e
@@ -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];
}
}
}
}