         self.addSubview(self.placeholder)
 
         if !wasAttachedBeforeShowing {
+            self.updateBoundsToFitSize()
             self.placeholderDelegate?.expandableTextViewDidShowPlaceholder(self)
         }
     }

    }

    @objc func textDidChange() {
        self.updateBoundsToFitSize()
        self.updatePlaceholderVisibility()
        self.scrollToCaret()

        // Bugfix:


    @available(*, deprecated, message: "use placeholderText property instead")
    open func setTextPlaceholder(_ textPlaceholder: String) {
        self.placeholderText = textPlaceholder
    }

    open func setTextPlaceholderColor(_ color: UIColor) {
