That is the search widget failing for some reason. The ghost screen you see is the search widget stuck in a loop. This widget comes up whenever you hover over the search icon on the task bar in windows 11.
A quick and easy way to fix this is to bring up task manager, search for windows explorer under processes and restart it. That should reset the taskbar and everything else that runs off it. Hope that fixes the issue.