| | |
| | | }) |
| | | |
| | | // Restoring the contentOffset of the lastScrollView |
| | | if let textFieldView: UIView = activeConfiguration.textFieldViewInfo?.textFieldView, |
| | | let lastConfiguration: IQScrollViewConfiguration = lastScrollViewConfiguration { |
| | | if let lastConfiguration: IQScrollViewConfiguration = lastScrollViewConfiguration { |
| | | let textFieldView: UIView? = activeConfiguration.textFieldViewInfo?.textFieldView |
| | | |
| | | activeConfiguration.animate(alongsideTransition: { |
| | | |
| | |
| | | if !scrollView.contentOffset.equalTo(newContentOffset) { |
| | | |
| | | // (Bug ID: #1365, #1508, #1541) |
| | | let stackView: UIStackView? = textFieldView.iq.superviewOf(type: UIStackView.self, |
| | | let stackView: UIStackView? = textFieldView?.iq.superviewOf(type: UIStackView.self, |
| | | belowView: scrollView) |
| | | |
| | | // (Bug ID: #1901, #1996) |