Could your example to use `inputRef={ ref => this.textInput = ref }` instead of `document.querySelector()`?
Could your example to use
inputRef={ ref => this.textInput = ref }instead ofdocument.querySelector()?