Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clips to bounds is removed on Text View #704

Closed
cecilcosta opened this issue Mar 8, 2017 · 5 comments
Closed

Clips to bounds is removed on Text View #704

cecilcosta opened this issue Mar 8, 2017 · 5 comments
Assignees

Comments

@cecilcosta
Copy link

add a text view and set its text to something that overflow its size. On the Interface Builder ensure that it is marked clipsToBounds and have a look that its preview works fine (clipping it). Run the app and check that the text field shows the overflowed area. Solution? Manually add self.textView.clipsToBounds = true on viewDidLoad, but it shouldn't be necessary.

@daniel-jonathan daniel-jonathan self-assigned this Mar 9, 2017
@daniel-jonathan
Copy link
Member

I am almost done a rework on the TextView, called Editor. I will double check this is correctly setup before I ship it. Thank you!

@daniel-jonathan
Copy link
Member

I believe these two are connected, #703.

@daniel-jonathan
Copy link
Member

This is now fixed and will be released tomorrow. Thank you!

@daniel-jonathan
Copy link
Member

Sorry, I didn't get a chance to release the TextView when I had hoped. There is a version of it in development that works if you would like to try. Here is a TextView Sample project.

The version in development is pretty stable, I haven't seen any errors, but I am not done the default configurations, so I have not released it yet.

I'll close this issue when I make the release :) All the best!

@daniel-jonathan
Copy link
Member

Hey, please find your feature request in Material 2.6.0 and a sample TextView project. Thank you and all the best!

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

No branches or pull requests

2 participants