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

Why is the textView inside a button? #36

Closed
thisisjeffwong opened this issue Jul 7, 2014 · 3 comments
Closed

Why is the textView inside a button? #36

thisisjeffwong opened this issue Jul 7, 2014 · 3 comments

Comments

@thisisjeffwong
Copy link

Hi, I was trying to customize the textView's border to be square and clear, but then I discovered that the border was generated by the button that encloses the textView.

I see that the only function of the button is to becomeFirstResponder. Why is this necessary? Isn't tapping on the textView enough to cause it to take first responder?

Having the button that encloses the textview causes some problems with Accessibility, since I cannot really set the label on the button in a non-hacky way.

@jlindenbaum
Copy link

Here I thought I was losing my mind, not being able to remove the border of that text view. Thanks for the tip.

@jmig
Copy link

jmig commented Dec 8, 2014

Ran into the same issue with the button (Accessibility). @fphilipe Could you provide more details?

@jamesbebbington
Copy link
Contributor

FYI: The work being done in #63 addresses this issue.

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

No branches or pull requests

4 participants