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.

Characters getting swallowed while typing

See original GitHub issue

When showAllResults is true (as I said in, it’s basically necessary for chinese users), characters maybe swallowed when typing, even with small resultStepLength (50 in my case)

Demo: when I try to type guro An2

A possible and popular way to solve this is to delayed the keypress event handler until user stop typing, or handle it asynchronously

For example generate the dropdown list keypressHandlerDelay ms later after user stops typing, the default value of the delay could be 300 ms or something and can be changed in config.json

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:37 (18 by maintainers)

github_iconTop GitHub Comments

DominikDoomcommented, Oct 26, 2022

I’ve added the config option, default is still 100, so you will have to edit the config and set it to 0 there.

I’ll keep this issue open since it’s not solving the actual problem though.

byzodcommented, Oct 26, 2022

40d53d89d16c6fd6e4e05d9ad8f9a46ac27c1352 working confirmed, by setting the debounce delay to 0

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to stop key gobbling up letter next to it
Tap the Insert key to toggle it off. It's to the right of Backspace and Enter, above Delete (on a regular keyboard) It...
Read more >
Intellisense keep swallowing typed symbols. Need to type 2-3 ...
Hello! Often when I'm typing something autocomplete help just swallows my keypresses. E.g: I type "ImageResource". I see stutters and "ImgeRsr".
Read more >
Pressed a key on the keyboard that reversed typing of letters ...
... of the cursor along the line seems to swallow up subsequent letters, ... overtype mode, in which the cursor, when typing, overwrites...
Read more >
Swallow the Key - TV Tropes
A character swallows a key for safekeeping, whether to lock something or someone inside a device or room. Since you usually don't get...
Read more >
Swallow whole and dealing damage internally - Paizo
While swallowed whole are you able to deal unarmed damage as a monk? ... I had a Natural Attack focused character that once...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found