This repository has been archived by the owner on May 1, 2024. It is now read-only.
Fixe issue 5367 | Crash assigning excessively long text to Editor with MaxLength property set #8052
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
samhouts
added
p/Android
hacktoberfest 🍻
i/high
Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often
t/bug 🐛
labels
Oct 17, 2019
StephaneDelcroix
suggested changes
Oct 17, 2019
campersau
reviewed
Oct 18, 2019
rmarinho
suggested changes
Oct 18, 2019
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.
Thanks, almost there, I tried the fix but i get a crash playing with it, check my comment on SetSelection length.
rmarinho
approved these changes
Oct 23, 2019
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.
Failing test not related
jsuarezruiz
approved these changes
Oct 31, 2019
Any position about this PR? |
jsuarezruiz
approved these changes
Nov 4, 2019
felipebaltazar
added a commit
to felipebaltazar/Xamarin.Forms
that referenced
this pull request
Dec 1, 2019
…h MaxLength property set (xamarin#8052) fixes xamarin#5367 * Fixe issue 5367 🐛 * Code review * code review
felipebaltazar
added a commit
to felipebaltazar/Xamarin.Forms
that referenced
this pull request
Dec 1, 2019
…h MaxLength property set (xamarin#8052) fixes xamarin#5367 * Fixe issue 5367 🐛 * Code review * code review
Merged
2 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
hacktoberfest 🍻
i/high
Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often
p/Android
t/bug 🐛
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
I've created
ProcessTextWithMaxLenght
method to processMaxLength
property if neededIssues Resolved
API Changes
None
Platforms Affected
Behavioral/Visual Changes
When you have an Editor control with a MaxLength set, and you assign it text longer than the MaxLength, it doesn't crash anymore
Before/After Screenshots
Not applicable
Testing Procedure
PR Checklist