We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e580b4c commit 40e06e5Copy full SHA for 40e06e5
StackScrollView/StackScrollViewCellType.swift
@@ -31,7 +31,7 @@ extension StackScrollViewCellType where Self: UIView {
31
public var stackScrollView: StackScrollView? {
32
var superview: UIView? = self
33
34
- while !(superview is StackScrollView) {
+ while superview != nil && !(superview is StackScrollView) {
35
superview = superview?.superview
36
}
37
0 commit comments