Hide share dropdown when clicking menu