Hi @helmsmith,
Why not use a simple dropdown element? it will have all the behaviours you mentioned. Take a look at these: