Skip to content

[Bug] Deleting text disables recommendations #15837

@delvh

Description

@delvh
Member
  • Gitea version (or commit ref): 1.15.0+dev-274-g143071ee4 and every single one below
  • Can you reproduce the bug at https://try.gitea.io: Yes

Description

When a user enters text that requests recommendations (either the emoji :, the user mentioning @ or maybe later on the issue linking # syntax), recommendations will not get updated after text has been deleted from the input (i.e. removing the e from :smile ). This means the recommendations popup will be frozen in place, not changing for any input.
There are currently two ways to force the menu to close:
A) The textarea loses focus
B) Every part of the recommendation requesting input gets deleted (i.e. even the : of :smile)

It would be nice if the recommendations would also get updated when text is deleted and afterwards.

Screenshots

Screenshot_20210511_235746
In this screenshot, I entered :smile, then replaced it with :build. As you can see, the menu did not get updated and is now frozen.

Activity

wxiaoguang

wxiaoguang commented on Apr 12, 2023

@wxiaoguang
Contributor

Resolved by #23985 ?

delvh

delvh commented on Apr 12, 2023

@delvh
MemberAuthor

Yup.
Finally. I had a feeling when reviewing that PR that I missed an issue that is fixed by it 😃

locked as resolved and limited conversation to collaborators on May 28, 2023
added
topic/ui-interactionChange the process how users use Gitea instead of the visual appearance
and removed
topic/uiChange the appearance of the Gitea UI
on Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @wxiaoguang@noerw@a1012112796@delvh

        Issue actions

          [Bug] Deleting text disables recommendations · Issue #15837 · go-gitea/gitea