Skip to content

Fix cursor position when at the start of RTL syntax tokens#117062

Merged
alexdima merged 1 commit intomicrosoft:mainfrom
SnirBroshi:bugfix/rtl-cursor
Mar 9, 2021
Merged

Fix cursor position when at the start of RTL syntax tokens#117062
alexdima merged 1 commit intomicrosoft:mainfrom
SnirBroshi:bugfix/rtl-cursor

Conversation

@SnirBroshi
Copy link
Contributor

@SnirBroshi SnirBroshi commented Feb 19, 2021

This PR fixes #117060

To test the changes, follow the repro in the issue.

I've added this extra condition because the comment says this if is to "cover cases of empty <span>s" - I haven't found any record of these issues, so an alternative fix is to just delete the entire if - If you're okay with it let me know and I'll edit

@SnirBroshi
Copy link
Contributor Author

Build failures have nothing to do with my change

@alexdima alexdima added this to the March 2021 milestone Feb 25, 2021
@SnirBroshi
Copy link
Contributor Author

@alexdima what do you think?

@alexdima
Copy link
Member

alexdima commented Mar 9, 2021

Thank you! This is great ❤️ !

@alexdima alexdima merged commit 63be79e into microsoft:main Mar 9, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cursor position in RTL text is sometimes messed up

2 participants