6 votes

"Escaping" out of the tag autocompletion box after highlighting a tag will disable the autocomplete feature until the page is reloaded

Tags: bug

This one is a bit weird to describe, but if I start typing a tag like fe and get an autocomplete option for feature, I can then press the Tab key to highlight that first suggestion (and again for the next suggestion). After that autocomplete option is highlighted, if I press Escape and close the autocomplete box, the autocomplete functionality will not return until the page is reloaded.

2 comments

  1. [2]
    cfabbro
    Link
    Added to gitlab: https://gitlab.com/tildes/tildes/-/issues/712 Can also confirm this is how it's behaving for me too.

    Added to gitlab:
    https://gitlab.com/tildes/tildes/-/issues/712

    Can also confirm this is how it's behaving for me too.

    3 votes
    1. Emerald_Knight
      Link Parent
      Possibly line #58 of this file? Note the difference with lines #110 and #164 of this file. Specifically, the former removes the autocomplete menu's parent, while the latter removes the...

      Possibly line #58 of this file? Note the difference with lines #110 and #164 of this file. Specifically, the former removes the autocomplete menu's parent, while the latter removes the autocomplete menu itself.

      I haven't run a development build to test this and I'm not really familiar with Tildes' code base, but the difference between .parent().remove() and .remove() on detecting an Escape keypress seems like the first place I would want to look.

      3 votes