Why is this stupid cross sign closing entire document instead of clearing what’s written in the Search Box?

Why is this stupid cross sign closing entire document instead of clearing what’s written in the Search Box?

u/VendettaX24 — 4 days ago