Text-webpage position swap animation

This commit is contained in:
Ali
2023-10-24 17:14:39 +04:00
parent db38904254
commit 56bf7fac1e
9 changed files with 265 additions and 138 deletions

View File

@@ -558,6 +558,10 @@ public final class ChatInputTextView: ChatInputTextViewImpl, NSLayoutManagerDele
}
}
override public func setNeedsLayout() {
super.setNeedsLayout()
}
override public func layoutSubviews() {
let isLayoutUpdated = self.validLayoutSize != self.bounds.size
self.validLayoutSize = self.bounds.size