Fixed SearchBox Breaking bug

A24Group/Triage#2965

To test the screen must not break when you do steps as :https://github.com/A24Group/Triage/issues/2965#issue-12400413