Avoid glitch in keyboard dismiss.

iOS adjusts the inputAccessoryView's host input views layout margins when
popping/dismissing the keyboard, which causes a noticeable glitch.
pull/1/head
Michael Kirk 6 years ago
parent 8b5d1d9e69
commit eed2558050

@ -989,10 +989,7 @@ class BottomToolView: UIView {
stackView.axis = .vertical
addSubview(stackView)
stackView.autoPinEdge(toSuperviewEdge: .leading)
stackView.autoPinEdge(toSuperviewEdge: .trailing)
stackView.autoPinEdge(toSuperviewEdge: .top)
stackView.autoPinEdge(toSuperviewMargin: .bottom)
stackView.autoPinEdgesToSuperviewEdges()
}
required init?(coder aDecoder: NSCoder) {

Loading…
Cancel
Save