Add dropdown class

Added ```dropdown``` class to fix #8944.