mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Fixes vector-im/element-ios/issues/5042 - Message composer doesn't follow keyboard when swiping to dismiss.
This commit is contained in:
parent
fe98559d4a
commit
35802071dd
3 changed files with 6 additions and 1 deletions
|
@ -163,7 +163,7 @@
|
|||
</view>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oni-F4-X1U" userLabel="User suggestion container">
|
||||
<rect key="frame" x="0.0" y="626" width="375" height="0.0"/>
|
||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" placeholder="YES" id="1Cd-cT-gOr"/>
|
||||
</constraints>
|
||||
|
|
|
@ -85,6 +85,10 @@ const CGFloat kComposerContainerTrailingPadding = 12;
|
|||
[self updateUIWithTextMessage:nil animated:NO];
|
||||
|
||||
self.textView.toolbarDelegate = self;
|
||||
|
||||
// Add an accessory view to the text view in order to retrieve keyboard view.
|
||||
inputAccessoryView = [[UIView alloc] initWithFrame:CGRectZero];
|
||||
self.textView.inputAccessoryView = inputAccessoryView;
|
||||
}
|
||||
|
||||
- (void)setVoiceMessageToolbarView:(UIView *)voiceMessageToolbarView
|
||||
|
|
1
changelog.d/5042.bugfix
Normal file
1
changelog.d/5042.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fixed message composer not following keyboard when swiping to dismiss.
|
Loading…
Reference in a new issue