Skip to content
This repository has been 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

Open
jeyashree-n opened this issue Dec 12, 2022 · 1 comment

Comments

@jeyashree-n
Copy link

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

@jeyashree-n
Copy link
Author

If any one faced this issue ?

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

No branches or pull requests

1 participant