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

Selection points outside of document #2403

Closed
amd64fox opened this issue Jan 15, 2025 · 5 comments
Closed

Selection points outside of document #2403

amd64fox opened this issue Jan 15, 2025 · 5 comments
Labels

Comments

@amd64fox
Copy link

amd64fox commented Jan 15, 2025

Bug Description

Снимок экрана 2025-01-16 020416

Error Stack:

"RangeError: Selection points outside of document\n at z (https://regex101.com/static/vendors-bundle.5225f737978eb8a3e482.js:2:322282)\n at new ge (https://regex101.com/static/vendors-bundle.5225f737978eb8a3e482.js:2:328944)\n at ge.create (https://regex101.com/static/vendors-bundle.5225f737978eb8a3e482.js:2:329077)\n at be (https://regex101.com/static/vendors-bundle.5225f737978eb8a3e482.js:2:330975)\n at Me.update (https://regex101.com/static/vendors-bundle.5225f737978eb8a3e482.js:2:332760)\n at lr.dispatch (https://regex101.com/static/vendors-bundle.5225f737978eb8a3e482.js:2:479539)\n at https://regex101.com/static/bundle.4a6d17a687caa30796d6.js:1:6315\n at rl (https://regex101.com/static/vendors-bundle.5225f737978eb8a3e482.js:2:176424)\n at Su (https://regex101.com/static/vendors-bundle.5225f737978eb8a3e482.js:2:196369)\n at https://regex101.com/static/vendors-bundle.5225f737978eb8a3e482.js:2:195146"

Снимок экрана 2025-01-16 021539

Reproduction steps

just paste text 1 643 906 characters

Expected Outcome

the text will be inserted

Browser

Chrome
Version 131.0.6778.266 (Official build), (64 bit)

OS

Windows 10 Pro Release
Version 22H2
OS Build 19045.5371

@amd64fox amd64fox added the bug label Jan 15, 2025
@amd64fox
Copy link
Author

amd64fox commented Jan 15, 2025

the strangest thing is that this happens if I copy text from a virtual machine and paste it into a browser on a real machine

but if I do all this within a real machine, then everything is fine

@firasdib
Copy link
Owner

I will experiment a bit with this and see what may be causing it. Have not been able to reproduce it myself unfortunately.

@amd64fox
Copy link
Author

Could you try these two files? Outwardly, they appear to be identical. When I copy and paste text from the first file, everything works fine, but with the second file, an error occurs.

1

2

@amd64fox
Copy link
Author

now I can't reproduce it, the only change I have is that Chrome has been updated to 132.0.6834.84

@firasdib
Copy link
Owner

I updated the code as well, which I think fixed it. Thanks for checking back!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants