Consider edgecase where textInput event gets triggered