VE-1406 Prevent autocomplete menu from being clipped

This is a fix just for the "ESC" behavior? Would it work if you just prevent default in switch case for ESC?