Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.
This repository was archived by the owner on May 12, 2026. It is now read-only.

Reload code editor when opening and closing the comments tab #1145

Open

Description

@Rokt33r

Issuehunt badges

Current behavior

The cursor position of the editor is broken after opening or closing the comments tab.

How to fix

  • Refresh codemirror after opening/closing the comments tab. Executing editorRef.current.refresh() in cloud/components/Editor/index.tsx should be enough.

Codemirror is emulating cursor position based on its container size. But it cannot detect size changes of the container. So we need to refresh it manually.


IssueHunt Summary

Backers (Total: $20.00)

Submitted pull Requests


Become a backer now!

Or submit a pull request to get the deposits!

Tips

Activity

  1. added
    bug 🐛Issue concerns a bug.
    help wanted 🆘Pull request/issue requires extra help from the community. Check these out if you're new!
    on Sep 7, 2021
  2. issuehunt-oss commented on Sep 14, 2021

    @issuehunt-oss

    @boostio has funded $20.00 to this issue.


  3. added
    funded on issuehunt 💵Issue has received funding that will be rewarded to the contributor solving this issue.
    on Sep 14, 2021
  4. added
    hacktoberfestContribute to the Boost Note and grab the swags! https://hacktoberfest.digitalocean.com/
    on Oct 4, 2021
  5. removed
    hacktoberfestContribute to the Boost Note and grab the swags! https://hacktoberfest.digitalocean.com/
    on Nov 9, 2021
  6. added a commit that references this issue on Mar 6, 2026
    c1dfd18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Issue concerns a bug.funded on issuehunt 💵Issue has received funding that will be rewarded to the contributor solving this issue.help wanted 🆘Pull request/issue requires extra help from the community. Check these out if you're new!

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions