We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c6103b commit 75351dcCopy full SHA for 75351dc
1 file changed
FrameLayoutKit/Classes/FrameLayout.swift
@@ -370,7 +370,7 @@ open class FrameLayout: UIView {
370
if !isEnabled { return .zero }
371
372
willSizeThatFitsBlock?(self, size)
373
- guard !isEmpty || !ignoreHiddenView else { return .zero }
+ if isEmpty && ignoreHiddenView { return .zero }
374
375
if minSize == maxSize && minSize.width > 0 && minSize.height > 0 { return minSize }
376
0 commit comments