ONLYOFFICE / ONLYOFFICE/document-editor-react

The DocumentEditor component cannot be reused or is not destroyed

Open
#57 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
63
Forks
18
PR merge metrics
No merged PRs in 30d

Description

When I created a new project and tried to switch between two files on the same page, I found the DocumentEditor component was still present and unavailable. I had to refresh the browser. How can I resolve this issue?

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 a new React project while switching between two files on the same page, then inspect the DocumentEditor component's reuse and destruction behavior. Done means switching files works without refreshing the browser and no unavailable editor remains present.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.