Search bar not populating on mobile

Yeah I’m using the onSelect prop, same as the HH training

const handleFilterSelect = (params: OnSelectParams) => {
const locationFilter: SelectableStaticFilter = {
selected: true,
filter: {
kind: “fieldValue”,
fieldId: params.newFilter.fieldId,
value: params.newFilter.value,
matcher: Matcher.Equals,
},
};
searchActions.setStaticFilters([locationFilter]);
searchActions.executeVerticalQuery();
};

This was copied exactly from the HH training. Also the search bar populates as expected on desktop, the issue is only on mobile