You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2026. It is now read-only.
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.
Current behavior
The cursor position of the editor is broken after opening or closing the comments tab.
How to fix
editorRef.current.refresh()incloud/components/Editor/index.tsxshould 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