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

Bug: delete-line-backward seems to delete line quite randomly when having long paragraphs #40

Closed
feedthejim opened this issue Jan 29, 2021 · 1 comment · Fixed by #202

Comments

@feedthejim
Copy link
Contributor

On Gmail if you type a long phrase that wraps. cmd+delete deletes until the wrapping word, which is the expected behaviour for deleteSoftLineBackward.

On outline, the line deletion stops at a random point.

outline (chrome/ff)

Screen.Recording.2021-01-29.at.12.45.11.mov

gmail (chrome/ff/safari)

Screen.Recording.2021-01-29.at.12.45.49.mov
@trueadm
Copy link
Collaborator

trueadm commented Jan 29, 2021

I'd expect FF to be off as we aren't using anything native there. However, it's a bit strange that Chrome is off. I'm beginning to think that maybe we can't accurately using getTargetRanges in Chrome, there seem to be a bunch of issues around it.

@trueadm trueadm changed the title delete-line-backward seems to delete line quite randomly when having long paragraphs Bug: delete-line-backward seems to delete line quite randomly when having long paragraphs Mar 2, 2021
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