question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Autocomplete delay is ignored after tab-completed mention pill

See original GitHub issue

Description

Autocomplete delay can be increased in the settings (defaults to 200 ms). I increased it to 4000 ms as I don’t like the emoji autocomplete box each time I type :, which makes this bug more obvious.

Whenever a user is mentioned with tab completion (turning the mention into a pill), the autocomplete delay is ignored and autocompletion proposals of e.g. : happen instantly. The input mode likely stays stuck in the autocomplete related to the mentioned username. Moving the caret with arrow keys fixes the issue temporarily (first autocomplete uses the delay, futher autocompletes don’t).

Steps to reproduce

  • Set autocomplete delay to a big value (e.g. 4000 ms)
  • Type Hello john<TAB>, this is a bug : and get @johndoe autocompleted into a pill
  • See emojis autocomplete box show up instantly

Log: sent not sent

Version information

  • Platform: web (in-browser)
  • Browser: Firefox Nightly, build 20170818
  • OS: Mageia 6 (Linux) x86_64
  • URL: riot.im/develop

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
lukebarnard1commented, Aug 22, 2017

It’s worth noting that the user is tab-completed into a pill, i.e. Hello @john*tab* ... (although the OP did mention @-mentioning)

0reactions
SilverWolf32commented, Aug 18, 2019

Just confirming this still happens after a year.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Autocomplete delay is ignored after tab-completed mention pill ...
Whenever a user is mentioned with tab completion (turning the mention into a pill), the autocomplete delay is ignored and autocompletion proposals of...
Read more >
Autocomplete is ignoring the minLength & delay setting
Currently the autocomplete is firing after typing the first character, instead of firing after typing at least 3 characters as mentioned in the ......
Read more >
thelounge | Yarn - Package Manager
Muted channels are dimmed in the channel list and notifications from them (including nick mentions) are disabled. Also note that the npm package...
Read more >
BusyBox
I want to thank the following companies which are providing support for the BusyBox ... Andre Goddard Rosa: smemcap: keep outputting by ignoring...
Read more >
Switch from Chrome to Firefox - Hacker News
And besides, your claim is doubtful at best since Chromium Edge ... I would switch today if Mozilla added tab completed search in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found