Added shouldDismissOnTap public property