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: the selection will expand to cover all text #1840

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ymrdf
Copy link

@ymrdf ymrdf commented Jul 3, 2024

In non-Firefox browsers, when hovering over an empty space, the selection will expand to cover all the text between the current selection and .endOfContent.
By moving .endOfContent to right after limit the selection jump to at most cover the enteirety of the where the selection is being modified.

@wojtekmaj wojtekmaj force-pushed the main branch 4 times, most recently from d0aabb2 to 736f3f3 Compare July 9, 2024 15:54
@ymrdf
Copy link
Author

ymrdf commented Aug 1, 2024

@wojtekmaj Is it ok to merge this PR?

Copy link

@trantuankiet11884 trantuankiet11884 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its okay

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