BoostIO/BoostNote-App

Do you want to work on this issue?

You can request for a bounty in order to promote it!

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

Rokt33r posted onGitHub

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.


@boostio has funded $20.00 to this issue.


posted by issuehunt-app[bot] over 3 years ago

Fund this Issue

$20.00
Funded
Only logged in users can fund an issue

Pull requests

Recent activities

boostio funded 20.00 for BoostIO/BoostNote-App# 1145
over 3 years ago