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

Cursor position of Textbox.splitByGrapheme #5490

Closed
TsuchiyaMasahiro opened this issue Jan 17, 2019 · 5 comments
Closed

Cursor position of Textbox.splitByGrapheme #5490

TsuchiyaMasahiro opened this issue Jan 17, 2019 · 5 comments

Comments

@TsuchiyaMasahiro
Copy link

Version

2.6.0

Test Case

https://jsfiddle.net/uemon/aq25mwh7/

Information about environment

Nodejs or browser? browser
Which browsers? chrome

Steps to reproduce

I tested "Textbox.splitByGrapheme" released by ver. 2.6.0.
When I double clicked the textbox to edit the text, the cursor position did not move backward from near the center of the text.
I know this problem exists previously, but can I fix it in ver. 2.6.0 ?

Expected Behavior

The cursor position move according to the mouse position.

Actual Behavior

The cursor position does not move backward from the near the center of the text.

Thank you in advance.

@asturur
Copy link
Member

asturur commented Jan 17, 2019

i see, i ll try to fix asap. Strange that i did not catch it.

@ghost
Copy link

ghost commented Jan 17, 2019

Sorry about the duplication.

As I tried the sample , I found a bug.

When I hightlight words and delete some letters, textbox freezes and disappeared.
Words inside the textbox disappeared either.

@feixiang001
Copy link

I also found this problem.

@asturur
Copy link
Member

asturur commented Feb 28, 2019

I have a branch to fix it, trying to push it in the weekend.

@asturur
Copy link
Member

asturur commented Mar 9, 2019

closed with #5544

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

No branches or pull requests

3 participants