Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

InvalidStateError: 'extend' requires a Range to be added to the Selection #3181

@jeyashree-n

Description

@jeyashree-n

Do you want to request a feature or report a bug?
Most probably a bug.

Current behavior:
We are facing an issue while trying to focus on a selection.
It is happening in some browsers and in some cases. But we are able to reproduce the issue on "safari" version 16.1.

DraftJS version: 0.10.5

While it failed to focus, componentDidUpdate is continuously called and ends up with "Maximum update depth exceeded."

While we remove the focus it is working fine.
Screenshot 2022-12-12 at 11 23 24 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions