I tried that, it doesn't help as tap on x  is not returning originalTarget.id as 'views-tiles-search-clear'
and displays both target.id and originalTarget.id as form element 'views-tiles-search'.