Skip to content

Commit 855ebba

Browse files
committed
override touchesShouldCancelInContentView
1 parent 8a0d38c commit 855ebba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

StackScrollView/StackScrollView.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ open class StackScrollView: UIScrollView {
112112
scrollRectToVisible(targetRect, animated: true)
113113
}
114114

115+
open override func touchesShouldCancel(in view: UIView) -> Bool {
116+
return true
117+
}
118+
115119
fileprivate func updateVerticalLayout(animated: Bool) {
116120

117121
func perform() {

0 commit comments

Comments
 (0)