meteor-autocomplete icon indicating copy to clipboard operation
meteor-autocomplete copied to clipboard

Clicking around the input and changing cursor position does not change autocomplete filter

Open mizzao opened this issue 11 years ago • 0 comments

Changing the cursor via mouse does not update the autocomplete menu (due to this being handled in the onKeyUp) function of the AutoComplete class. The only other place this logic is also triggered is in onFocus.

We can simply add an onClick handler to tackle the basic case of this, but it requires more thought to decide what to do for drags and selected regions. Maybe the autocomplete should just go away during that time.

mizzao avatar May 14 '14 05:05 mizzao