Cursor and highlight missing when editing comment #3674

Closed
opened 2025-11-02 05:21:22 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @bobemoe on GitHub (Jul 25, 2019).

Description

When editing a comment the cursor is invisible. Also any highlighted text, the highlight is invisible. This means it's quite tricky to see where you are typing or what you have selected.

This is only an issue editing a comment. Creating a new comment there seems to be no problem.

Recreated on any comment on try.gitea.io using Firefox on Linux.

Originally created by @bobemoe on GitHub (Jul 25, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Can you reproduce the bug at https://try.gitea.io: - [X] Yes (provide example URL) - [ ] No - [ ] Not relevant ## Description When editing a comment the cursor is invisible. Also any highlighted text, the highlight is invisible. This means it's quite tricky to see where you are typing or what you have selected. This is only an issue editing a comment. Creating a new comment there seems to be no problem. Recreated on any comment on try.gitea.io using Firefox on Linux.
GiteaMirror added the issue/confirmedtopic/ui labels 2025-11-02 05:21:22 -06:00
Author
Owner

@bobemoe commented on GitHub (Jul 27, 2019):

Workaround seems to be to click elsewhere in the page to remove focus from the textarea and then click back inside the textarea to return focus to it. At this point something initializes as the spell checker underlines the unknown words and the cursor/highlighting becomes visible.

@bobemoe commented on GitHub (Jul 27, 2019): Workaround seems to be to click elsewhere in the page to remove focus from the textarea and then click back inside the textarea to return focus to it. At this point something initializes as the spell checker underlines the unknown words and the cursor/highlighting becomes visible.
Author
Owner

@stale[bot] commented on GitHub (Sep 25, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Sep 25, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@bobemoe commented on GitHub (Dec 25, 2019):

This seems to be fixed now since SimpleMDE has been added. The textarea no longer has focus after clicking "Edit" so a manual focus is required initially and caret and highlight is visible :)

@bobemoe commented on GitHub (Dec 25, 2019): This seems to be fixed now since SimpleMDE has been added. The textarea no longer has focus after clicking "Edit" so a manual focus is required initially and caret and highlight is visible :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3674