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(merge): after merge caret will be set in a place of glue #2841

Merged
merged 7 commits into from
Oct 9, 2024
Merged

Conversation

neSpecc
Copy link
Member

@neSpecc neSpecc commented Oct 9, 2024

In Safari you can see a bug when caret jumps to incorrect position after blocks merging.

Problem

Caret saving/restoring works badly in safari.

Solution

Now we're using more straightforward solution: simply focus previous block at the end, then merge content

@neSpecc neSpecc changed the title fix(merge): caret will be placed in a place of glue fix(merge): after merge caret will be set in a place of glue Oct 9, 2024
@neSpecc neSpecc merged commit eb7ffcb into next Oct 9, 2024
6 checks passed
@neSpecc neSpecc deleted the fix-merge branch October 9, 2024 18:28
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