How to handle the header dropdown

How to handle the header dropdown