This may be related to mobile browser issues, but I have about 7k bugsnag reports of this._inputRef.value is undefined and Cannot read properties of undefined (reading 'focus') which I was able to trace back to this line.
|
requestAnimationFrame(() => this._inputRef.value!.focus()); |
I'm not quite sure how this part works, but my guess is maybe a guard clause is needed to ensure _inputRef exists and is the correct type?