autocomplete icon indicating copy to clipboard operation
autocomplete copied to clipboard

Autocomplete dropdown placement issue when debounce not 0

Open jestrux opened this issue 4 years ago • 1 comments

I noticed a strange behavior, when I set the debounce time, the placement of the results autocomplete always renders below instead of the normal behavior of responsive based on where the input is in the viewport.

Without debounce, works as expected:

ezgif com-video-to-gif

Same search query but with debounce set to 300, it misbehaves

ezgif com-video-to-gif (1)

jestrux avatar Jul 29 '20 05:07 jestrux

Oh, interesting. I'm not sure why that would be happening. I wonder if the function to reposition the results list is somehow firing before the debounced result returns? I'll have to investigate a little deeper.

trevoreyre avatar Aug 17 '20 19:08 trevoreyre