Hi! I found a bug which only seem to be trigger from an odd case in our code. Unfortunately I'm not at the liberty to share an example currently.
useImperativeHandle grabs window.turnstile at the begining, however if Turnstile is loaded after the callback, window.turnstile stays undefined. The fix is to add turnstileLoaded in the dependencies.
Hi! I found a bug which only seem to be trigger from an odd case in our code. Unfortunately I'm not at the liberty to share an example currently.
useImperativeHandle
grabswindow.turnstile
at the begining, however if Turnstile is loaded after the callback,window.turnstile
staysundefined
. The fix is to addturnstileLoaded
in the dependencies.