pnp / pnp/sp-dev-fx-controls-react

Maximum update depth exceeded when selecting a text in Rich Text Control

Open
#1,515 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:bug
Dominant language
TypeScript
Stars
433
Forks
418
Avg merge
5d 6m
Merged PRs (30d)
19

Description

Category

[ ] Enhancement

[X] Bug

[ ] Question

Version

Please specify what version of the library you are using: [3.11.0]

Expected / Desired Behavior / Question

No errors when selecting text

Observed Behavior

If I select text in the Richt Text Control the app crashes with the react error "Maximum update depth exceeded"

Steps to Reproduce

Select any text in a Rich Text Control

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the problem in the Rich Text Control with library version 3.11.0, following the stated step of selecting text. Trace the resulting React “Maximum update depth exceeded” error and verify that selecting text no longer crashes the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.