Skip to content

Conversation

@jwoertink
Copy link

@jwoertink jwoertink commented Dec 14, 2022

Fixes #34

It seems in some browsers, this requestAnimationFrame will execute before the ref exists which throws errors around calling .focus() on undefined.

image

@KonnorRogers
Copy link

Fixed here: KonnorRogers/konnors-ninja-keys#9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sometimes there's no value loaded when an animationFrame is requested

2 participants