 
 extension TextViewCell: CellHeightProvider {
 	public func form_cellHeight(indexPath: IndexPath, tableView: UITableView) -> CGFloat {
-		let sizes: TextViewFormItemCellSizes = compute(bounds.width)
+		let sizes: TextViewFormItemCellSizes = compute()
 		let value = sizes.cellHeight
 		//SwiftyFormLog("compute height of row: \(value)")
 		return value

		updateValue()
	}
	
	public func compute(_ cellWidth: CGFloat) -> TextViewFormItemCellSizes {
		
		var titleLabelFrame = CGRect.zero
		var placeholderLabelFrame = CGRect.zero
		var textViewFrame = CGRect.zero
		let errorLabelFrame = CGRect.zero
		var maxY: CGFloat = 0
		let veryTallCell = CGRect(x: 0, y: 0, width: cellWidth, height: CGFloat.greatestFiniteMagnitude)
		var (slice, remainder) = veryTallCell.divided(atDistance: 10, from: .minYEdge)
		
		do {
			let dx: CGFloat = 16
			var availableSize = veryTallCell.size
			availableSize.width -= dx * 2
			let size = titleLabel.sizeThatFits(availableSize)
			(slice, remainder) = remainder.divided(atDistance: size.height, from: .minYEdge)
			titleLabelFrame = slice.insetBy(dx: dx, dy: 0)
		}
		
		let bottomRemainder = remainder
		
		do {
			(slice, remainder) = bottomRemainder.divided(atDistance: 5.5, from: .minYEdge)
			let dx: CGFloat = 16
			var availableSize = veryTallCell.size
			availableSize.width -= dx * 2
			let size = placeholderLabel.sizeThatFits(availableSize)
			(slice, remainder) = remainder.divided(atDistance: size.height, from: .minYEdge)
			placeholderLabelFrame = slice.insetBy(dx: dx, dy: 0)
		}
		(slice, remainder) = remainder.divided(atDistance: 10, from: .minYEdge)
		maxY = slice.maxY

		textView.backgroundColor = UIColor.clear
		textView.isScrollEnabled = false
		textView.delegate = self
		textView.textContainer.lineFragmentPadding = 0

		if model.toolbarMode == .simple {
			textView.inputAccessoryView = toolbar
