 	}
 	
 	func configureHeightConstraint() {
+		
 		if let viewConstraints = constraints() as? [NSLayoutConstraint] {
 			if let constraint = viewConstraints.first {
-				constraint.constant = self.heightOfView
+				constraint.constant = YZKeyboardInputAccessoryView.heightWith(keyboardConstants: keyboardConstants, extraHeight: dismissTouchAreaHeight)
 			}
 		}
 	}

	
	// MARK: Init methods
	init(keys:[String]) {
		super.init(frame: CGRectZero)
		
		backgroundColor = keyboardBackgroundColor
		

	var enableInputClicksWhenVisible:Bool {
		return true
	}

	// MARK: Attach to a text input.	
	func attachTo(#textInput:UITextInput) {
		textField = nil
