Fix #8944
Merge pull request #8979 from ggam/patch-6

Add dropdown class