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?
This may be related to mobile browser issues, but I have about 7k bugsnag reports of
this._inputRef.value is undefinedandCannot read properties of undefined (reading 'focus')which I was able to trace back to this line.ninja-keys/src/ninja-header.ts
Line 124 in 52ccc0d
I'm not quite sure how this part works, but my guess is maybe a guard clause is needed to ensure
_inputRefexists and is the correct type?