-
Notifications
You must be signed in to change notification settings - Fork 24.7k
iOS Text - Modify "onChange" behaviour to allow for all changes in contentSize #6283
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
Conversation
Update to master
By analyzing the blame information on this pull request, we identified @nicklockwood, @sahrens and @brentvatne to be potential reviewers. |
@kmagiera - we need to mirror this behaviour on Android too, cc @mkonicek @bestander |
I did a quick implementation of |
@deanmcpherson updated the pull request. |
1 similar comment
@deanmcpherson updated the pull request. |
@brentvatne OK, someone should send a PR for that once this one lands. |
@nicklockwood would you mind taking a look at this pull request? It's been a while since the last commit was reviewed. |
@majak Are you familiar with TextViews on iOS? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable.
@facebook-github-bot shipit
@facebook-github-bot shipit |
Thanks for importing. If you are a Facebook employee, you can view this diff on Phabricator. |
I tried to merge this pull request into the Facebook internal repo but some checks failed. To unblock yourself please check the following: Does this pull request pass all open source tests on GitHub? If not please fix those. Does the code still apply cleanly on top of GitHub master? If not can please rebase. In all other cases this means some internal test failed, for example a part of a fb app won't work with this pull request. I've added the Import Failed label to this pull request so it is easy for someone at fb to find the pull request and check what failed. If you don't see anyone comment in a few days feel free to comment mentioning one of the core contributors to the project so they get a notification. |
Please resolve the conflicts in RCTTextView.m |
@deanmcpherson Are you still working on this? If not perhaps we should just close the pull request. |
Hey @lacker, No sorry, im not working on this. Happy for it to be closed. |
As per discussion with @nicklockwood and @brentvatne on #1229. This PR is an initial attempt to satisfy the following:
This change is necessary to allow for auto height scaling on TextInputs that adjust when the value is modified outside of user input.