Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Fix intrinsicContentSize#320

Open
Michael Brown (mluisbrown) wants to merge 3 commits intoSkyscanner:mainfrom
trading-point:michael/fix-intrinsicContentSize
Open

Fix intrinsicContentSize#320
Michael Brown (mluisbrown) wants to merge 3 commits intoSkyscanner:mainfrom
trading-point:michael/fix-intrinsicContentSize

Conversation

@mluisbrown

Currently, if no frame or auto layout constraints are set, intrinsicContentSize.width is always zero, which is a bug.

In a standard UITextField, intrinsicContentSize.width is wide enough to display the placeholder text. SkyFloatingLabelTextField should also have the same minimum, and not just be zero.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant