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

Messes with selection & focus on load #480

Open
adam-lynch opened this issue Jan 30, 2023 · 0 comments
Open

Messes with selection & focus on load #480

adam-lynch opened this issue Jan 30, 2023 · 0 comments

Comments

@adam-lynch
Copy link

adam-lynch commented Jan 30, 2023

WrappedSelection and TextRange interfere with the page's selection on load. For example, if Rangy is used in an extension, google.com's search field isn't focused (on load).

As the comment mentions, these tests were done in an iframe (which avoids these issues) but it caused problems in IE (#109). I think this can now effectively be reverted; IE support isn't required any more. I've tested it.

I would submit a pull-request but the library is unmaintained; happy to help if that changes.

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

No branches or pull requests

1 participant