Autocomplete sometimes stops working
See original GitHub issueA summary of the issue and the browser/OS environment in which it occurs.
- Issue occurs in both Chrome and Firefox
- Reproduced on osx
Steps to Reproduce
-
Using either Athena or Presto as a data source, type a character that should trigger an autocomplete (e.g.
a
should autocomplete toavg
). The autocomplete dropdown appears -
Delete the typed character and type it again.
Expected Behaviour: The dropdown shows up again. Actual Behaviour: The dropdown no longer works after the first time a character is typed and deleted. It works again after refreshing the page but the same issue gets triggered.
Note: This worked fine on other data sources, for example, Redshift. Note: This was reproduced in the mozilla fork of Redash
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Google Search Autocomplete Not Working? Try This Fix - Alphr
Sometimes, the most basic answer is the best answer. One, autocomplete requires an internet connection to work, so make sure that your internet...
Read more >AutoComplete not working correctly - Outlook - Microsoft Learn
Check to see if AutoComplete is turned on · In Outlook, select File > Options. · Select the Mail tab. · Scroll roughly...
Read more >Autocomplete is not working - Storemapper
You can do this by selecting “API's and Services” and selecting Credentials. From here, please select the pen to edit your key and...
Read more >Why Excel AutoComplete Feature Stops Working for Some ...
In Excel, you will find that sometimes the autocomplete of cell values will not work. And in this article, we will dig out...
Read more >How to Fix Google Search Autocomplete Not Working in Chrome
Sometimes, the problem arises when you're also experiencing Chrome sign-in issues with your Google account. Turning it off and on will refresh ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@emtwo I found out that your fork’s implementation is a bit different than the upstream one, and this is why autocomplete stops working completely and can’t be even triggered with Ctlr+Space.
The issue is here:
https://github.com/mozilla/redash/blob/d1a32370cd4f4fe75c4f3d63d12092817f481235/client/app/components/queries/query-editor.js#L105-L111
Note that in the upstream we don’t disable basic autocomplete, even when tokens count is higher than the threshold:
https://github.com/getredash/redash/blob/8c5e2dffc471db974f11df1102d8f783d9fb1554/client/app/components/queries/query-editor.js#L104-L107
@arikfr thanks so much for looking into that and for the update! That is super helpful!