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

fix(caret): fix focus at start when first child is empty #26

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

neSpecc
Copy link
Contributor

@neSpecc neSpecc commented Oct 9, 2024

Now if first child is empty, focus will always set caret at the end.

This change handles the "atStart" correctly for this case

@neSpecc neSpecc merged commit 2ba780f into main Oct 9, 2024
3 checks passed
@neSpecc neSpecc deleted the fix-focus-start branch October 9, 2024 19:11
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.

2 participants