Skip to content

Commit

Permalink
/issues/4976 - Fixed placeholder not displaying after being hidden fo…
Browse files Browse the repository at this point in the history
…r resize animations.
  • Loading branch information
stefanceriu committed Oct 27, 2021
1 parent efa726b commit 7e6e82d
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,17 @@ class RoomInputToolbarTextView: UITextView {

weak var toolbarDelegate: RoomInputToolbarTextViewDelegate?

var placeholder: String?
var placeholderColor: UIColor = UIColor(white: 0.8, alpha: 1.0)
var placeholder: String? {
didSet {
setNeedsDisplay()
}
}

var placeholderColor: UIColor = UIColor(white: 0.8, alpha: 1.0) {
didSet {
setNeedsDisplay()
}
}

var minHeight: CGFloat = 30.0 {
didSet {
Expand Down

0 comments on commit 7e6e82d

Please sign in to comment.