Skip to content

rangy.saveSelection() with placeholder text crashes IE11 #14

@davetodd

Description

@davetodd

If you have an editor in IE11 that has placeholder text (via the placeholder attribute), then the browser will crash when a field is first focused.

The crash happens in rangy, when nativeSelection.removeAllRanges() is called. This is called by rangy.saveSelection() from within TextArea.js in the startPollingForValueChange function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions