This ensures that searching happens while the text is being entered from a virtual keyboard. CCBUG: 439914