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

Error in RichText Editor while rendering in React SPFX - Listener added for a 'DOMNodeInserted' mutation event. Support for this event type has been removed

Open
#1,964 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

While using the version of dev controls 3.20.0 the RichText Editor is showing an error in browser console. The error appears as soon as the text editor renders in the browser.

Error Text:

[Deprecation] Listener added for a 'DOMNodeInserted' mutation event. Support for this event type has been removed, and this event will no longer be fired. See https://chromestatus.com/feature/5083947249172480 for more information.

Any advice to resolve it?

Thanks

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

Reproduce the console error by rendering the RichText Editor with dev controls 3.20.0 in a React SPFx solution, then inspect the editor and its dependencies for the DOMNodeInserted listener. Done means the editor renders without this removed-event error in the affected browser.

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
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.