Skip to content

Commit 5d6e0eb

Browse files
committed
use compressed size for content size
1 parent c50b856 commit 5d6e0eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/DropdownTitleView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ open class DropdownTitleView: UIControl {
152152
}
153153

154154
override open var intrinsicContentSize: CGSize {
155-
return UILayoutFittingExpandedSize
155+
return UILayoutFittingCompressedSize
156156
}
157157

158158
// MARK: Public API

0 commit comments

Comments
 (0)