material-components-ios icon indicating copy to clipboard operation
material-components-ios copied to clipboard

[TextFields] using MDCOutlinedTextField outlet breaks the layout

Open AntonVishneuski opened this issue 4 years ago • 1 comments

Overview

Using MDCOutlinedTextField outlet breaks the layout, while initialisation from code works correctly. (See screenshot)

Using outlets

image

Code Initialisation

image

Reproduction steps

Add MDCOutlinedTextField using outlet and set up long error text

Version number

MaterialComponents 114.0.0

Operating system and device

iOS 12+

Related issues

#10159

AntonVishneuski avatar Mar 09 '21 07:03 AntonVishneuski

What happens if you try setting the borderStyle to .none from within the storyboard UI? I think this is the same issue as https://github.com/material-components/material-components-ios/issues/10184.

andrewoverton avatar Aug 16 '21 20:08 andrewoverton