Skip to content

Messes with selection & focus on load #480

@adam-lynch

Description

@adam-lynch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions