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

[ios] text area cursor auto go to end #1788

Merged

Conversation

kfeagle
Copy link
Contributor

@kfeagle kfeagle commented Dec 1, 2016

fix bug: text area cursor auto go to end .

reason: if attributes[@"value"] is exist. _updateAttributesOnMainThread will change textview text.the cursor go to end.

solution: save the textview selectedRange , when set textview.text ,correct it

…es[@"value"] is exist. _updateAttributesOnMainThread will change textview text.the cursor go to end. solution: save the textview selectedRange , when set textview.text ,correct it
@kfeagle kfeagle changed the title Ios bugfix 1208 textarea cursor [ios] ext area cursor auto go to end Dec 1, 2016
@kfeagle kfeagle changed the title [ios] ext area cursor auto go to end [ios] text area cursor auto go to end Dec 1, 2016
@codecov-io
Copy link

codecov-io commented Dec 1, 2016

Current coverage is 88.44% (diff: 100%)

Merging #1788 into ios-feature-20161208 will not change coverage

@@           ios-feature-20161208      #1788   diff @@
======================================================
  Files                        41         41          
  Lines                      2233       2233          
  Methods                     354        354          
  Messages                      0          0          
  Branches                    500        500          
======================================================
  Hits                       1975       1975          
  Misses                      258        258          
  Partials                      0          0          

Powered by Codecov. Last update 0f5e34d...45c6ce4

…ributesOnMainThread could be delete(by zifan)
@acton393 acton393 merged commit dfc9c6b into alibaba:ios-feature-20161208 Dec 1, 2016
@kfeagle kfeagle deleted the ios-bugfix-1208-textarea-cursor branch December 8, 2016 05:57
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

Successfully merging this pull request may close these issues.

4 participants