Switching composer between text mode & action mode

- Deselect text if user taps action button to avoid overlaps
This commit is contained in:
Gil Eluard
2021-03-26 11:18:05 +01:00
parent 8c21eb0ff6
commit ddcce2e491

View File

@@ -372,6 +372,8 @@ const double RoomInputToolbarViewContextBarHeight = 30;
{
_actionMenuOpened = actionMenuOpened;
self->growingTextView.internalTextView.selectedTextRange = nil;
if (_actionMenuOpened) {
self.actionsBar.hidden = NO;
[self.actionsBar animateWithShowIn:_actionMenuOpened completion:nil];