mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Web app improvements
This commit is contained in:
@@ -108,7 +108,7 @@ public class LegacyMessageInputPanelNode: ASDisplayNode, TGCaptionPanelView {
|
||||
if let view = self.inputPanel.view as? MessageInputPanelComponent.View {
|
||||
self.isEmojiKeyboardActive = false
|
||||
self.inputView = nil
|
||||
view.deactivateInput()
|
||||
view.deactivateInput(force: true)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -158,6 +158,8 @@ public class LegacyMessageInputPanelNode: ASDisplayNode, TGCaptionPanelView {
|
||||
var maxInputPanelHeight = maxHeight
|
||||
if keyboardHeight.isZero {
|
||||
maxInputPanelHeight = 60.0
|
||||
} else {
|
||||
maxInputPanelHeight = maxHeight - keyboardHeight - 100.0
|
||||
}
|
||||
|
||||
var resetInputContents: MessageInputPanelComponent.SendMessageInput?
|
||||
|
||||
Reference in New Issue
Block a user