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

Check rangeCount before getRangeAt #528

Merged
merged 1 commit into from
May 6, 2024
Merged

Conversation

sanchit3008
Copy link
Collaborator

Closes #525

This was causing issues on Safari which handles getSelection differently. This PR ensures that the sheet wont break on such operations.

@sanchit3008 sanchit3008 requested a review from zyc9012 April 4, 2024 17:20
@zyc9012 zyc9012 force-pushed the master branch 3 times, most recently from 471416d to 829cacb Compare April 5, 2024 08:58
@sanchit3008 sanchit3008 merged commit e3c7b5e into master May 6, 2024
2 checks passed
@sanchit3008 sanchit3008 deleted the getRangeAt-safety-check branch May 6, 2024 09:41
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.

Err : Index is not in the allowed range.
1 participant