[Bug] Deleting text disables recommendations #15837
Labels
outdated/theme/markdown
topic/ui-interaction
Change the process how users use Gitea instead of the visual appearance
type/bug
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 thee
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
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.The text was updated successfully, but these errors were encountered: