Ee 46381 dropdown mr widget backport
EE port of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19029
Backport of !18976 (merged)
Master and stable branch have different versions of this file, which makes it hard to pick. This backport has the same changes as !18976 (merged)
Edited by Filipa Lacerda