I am assuming you are using Unreal Motion Graphics for your UI? If so, there is exactly that. Take a look at ALLthe options on the left panel while in UMG editor, you will find it.
Here is UMG WIP video that shows a drop down menu in action! https://youtube.com/watch?v=F6aqgd92p3U