Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix getRangeAt IndexSizeError #953

Closed

Conversation

breezes1
Copy link

@breezes1
Copy link
Author

#939

@@ -176,6 +176,8 @@ export default class SelectionUtils {
return rect;
}

if (sel.rangeCount === 0) { return rect; }
Copy link
Member

Choose a reason for hiding this comment

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

Following the code style guide:

Suggested change
if (sel.rangeCount === 0) { return rect; }
if (sel.rangeCount === 0) {
return rect;
}

@gohabereg
Copy link
Member

Resolved by #968

@gohabereg gohabereg closed this Nov 30, 2019
@breezes1 breezes1 deleted the bugfix/selection-rangecount branch December 20, 2019 06:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants