Added property hidesWhenTapped