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

⚠️ Fixed processing of the selection range made totally outside of the container ⚠️ #150

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

oleksandr-danylchenko
Copy link
Contributor

@oleksandr-danylchenko oleksandr-danylchenko commented Sep 27, 2024

Issue

When the selection range was made entirely outside of the container - we should treat it as a collapsed one and discard it. However, this wasn't the case with the trimRangeToContainer method I introduced in #134. Instead, it would make the outside range cover the container ⚠️

image

@oleksandr-danylchenko oleksandr-danylchenko force-pushed the fix-trimming-out-of-container branch from cfbd296 to dbdcf6e Compare September 27, 2024 17:14
@oleksandr-danylchenko oleksandr-danylchenko marked this pull request as draft October 9, 2024 13:18
@oleksandr-danylchenko oleksandr-danylchenko marked this pull request as ready for review October 10, 2024 13:11
@oleksandr-danylchenko oleksandr-danylchenko changed the title Fixed processing of the selection range made totally outside of the container ⚠️ Fixed processing of the selection range made totally outside of the container ⚠️ Oct 14, 2024
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.

1 participant