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

textbox can't delete the last word #5592

Closed
Binbiubiubiu opened this issue Mar 24, 2019 · 2 comments · Fixed by #5645
Closed

textbox can't delete the last word #5592

Binbiubiubiu opened this issue Mar 24, 2019 · 2 comments · Fixed by #5645

Comments

@Binbiubiubiu
Copy link

Version

2.7.0

Information about environment

browser

Steps to reproduce

new fabric.Textbox('some text', {
        width:100,
        height:30,
        splitByGrapheme: true
 })

Expected Behavior

As a matter of fact, textbox was deleted along with the last text.

Actual Behavior

image
image
Textbox cannot delete the last word

I looked at the latest code and found that if textbox deleted the last word, the text would not disappear, the actual text had been deleted, but textbox still displayed the last word.

@asturur
Copy link
Member

asturur commented Mar 25, 2019

this bug is bad and needs to be fixed before of 3.0 release

@asturur
Copy link
Member

asturur commented Apr 21, 2019

ok fixed!

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

Successfully merging a pull request may close this issue.

2 participants