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.
Changing the cursor via mouse does not update the autocomplete menu (due to this being handled in the
onKeyUp
) function of theAutoComplete
class. The only other place this logic is also triggered is inonFocus
.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.