fix(select): do not break on pressing enter (fixes #712)