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 e6ef3b2d34
commit 3731ef3015

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];