mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Channel navigation improvements
This commit is contained in:
@@ -2585,6 +2585,12 @@ class ChatControllerNode: ASDisplayNode, UIScrollViewDelegate {
|
||||
}
|
||||
|
||||
var shouldAllowOverscrollActions: Bool {
|
||||
if let inputHeight = self.validLayout?.0.inputHeight, inputHeight > 0.0 {
|
||||
return false
|
||||
}
|
||||
if self.chatPresentationInterfaceState.inputTextPanelState.mediaRecordingState != nil {
|
||||
return false
|
||||
}
|
||||
if let inputPanelNode = self.inputPanelNode as? ChatTextInputPanelNode {
|
||||
if inputPanelNode.isFocused {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user