memos icon indicating copy to clipboard operation
memos copied to clipboard

Caret is transparent when clicking in empty space in the editor

Open rxvncc opened this issue 4 months ago • 1 comments

Pre-submission Checklist

  • [x] I have searched existing issues and confirmed this has not already been reported
  • [x] I have reproduced this bug on the latest Memos release, current main, or the demo site, or this report is specifically about upgrading to the latest release
  • [x] This is a bug report, not a question or configuration request

Affected Area

Web UI, Markdown / editor

Reproduced On

Latest release

Memos Version Tested

Version: canary Commit: dc41480ece7653a4c91142211999a3fd284aa6f5

Previous Version

No response

Environment Details

  • Deployment: Docker
  • Host OS: Arch Linux
  • Browser: Zen Browser (Firefox) and Brave Origin (Chromium)

Reproduction Frequency

Always

Steps to Reproduce

  1. Open the memo editor.
  2. Click inside the editor in an empty area where there is no nearby text.
  3. Observe that no caret is visible.
  4. Move the cursor next to existing text.
  5. Observe that the caret becomes visible.

Current Behavior

The editor has focus, but the insertion caret is not rendered when positioned in empty space.

Expected Behavior

The caret should remain visible whenever the editor has focus, regardless of whether it is positioned next to existing text or in an empty area.

Regression Information

No response

Logs


Additional Context

https://github.com/user-attachments/assets/42976b6b-1fbd-4d83-9254-18f7af8c8b01

rxvncc avatar Jul 08 '26 12:07 rxvncc

@boojack I did docker pull on canary again and it was using the latest commit with which this issue was fixed but the issue on my end was still reproducible.

Version: 0.29.1 Commit: 5329e6040787902cbf67bfc4a1616347565f9074

rxvncc avatar Jul 09 '26 11:07 rxvncc