diff --git a/Example/FrameLayoutKit.xcworkspace/xcuserdata/namkennic.xcuserdatad/UserInterfaceState.xcuserstate b/Example/FrameLayoutKit.xcworkspace/xcuserdata/namkennic.xcuserdatad/UserInterfaceState.xcuserstate index b2623dc..197d640 100644 Binary files a/Example/FrameLayoutKit.xcworkspace/xcuserdata/namkennic.xcuserdatad/UserInterfaceState.xcuserstate and b/Example/FrameLayoutKit.xcworkspace/xcuserdata/namkennic.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/FrameLayoutKit/Classes/ScrollStackView.swift b/FrameLayoutKit/Classes/ScrollStackView.swift index 6aa3113..ca2f2c1 100644 --- a/FrameLayoutKit/Classes/ScrollStackView.swift +++ b/FrameLayoutKit/Classes/ScrollStackView.swift @@ -488,7 +488,6 @@ open class ScrollStackView: UIView { @discardableResult open func add(_ view: UIView?) -> FrameLayout { let layout = frameLayout.add(view) - layout.isUserInteractionEnabled = true if let view { scrollView.addSubview(view) } setNeedsLayout() return layout @@ -502,7 +501,6 @@ open class ScrollStackView: UIView { @discardableResult open func insert(_ view: UIView?, at index: Int) -> FrameLayout { let layout = frameLayout.insert(view, at: index) - layout.isUserInteractionEnabled = true if let view { scrollView.insertSubview(view, at: index) } setNeedsLayout() return layout