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

fixed handling of empty lines in splitByGrapheme #5645

Merged
merged 2 commits into from
Apr 21, 2019
Merged

Conversation

asturur
Copy link
Member

@asturur asturur commented Apr 21, 2019

close #5592

There were 2 errors here:
splitByGrapheme was returning an empty array instead of an array with an empty word.
One case of setCursorByClick was considering the wrong line for removing a character.

@asturur asturur merged commit ce23118 into master Apr 21, 2019
@asturur asturur deleted the fix-textbox-error branch May 19, 2019 19:29
@asturur asturur mentioned this pull request May 19, 2019
thiagocunha pushed a commit to thiagocunha/fabric.js that referenced this pull request Nov 18, 2019
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.

textbox can't delete the last word
1 participant