Various improvements

This commit is contained in:
Ilya Laktyushin
2023-07-04 23:45:40 +02:00
parent de9cf59c28
commit 7ba7fcc760
12 changed files with 291 additions and 92 deletions

View File

@@ -154,6 +154,13 @@ public final class TextFieldComponent: Component {
super.paste(sender)
}
}
override func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool {
if action == #selector(self.paste(_:)) {
return true
}
return super.canPerformAction(action, withSender: sender)
}
}
public final class View: UIView, UITextViewDelegate, UIScrollViewDelegate {