Cloudflare Turnstile shows up twice, only rendered once

Hey friends! We use Turnstile in our Alpine.js app at signup and it's worked great up until the last 12 hours when some users started seeing double Turnstile captchas, ie two divs/shadow roots/iframes of the captchas inside of the single div with an id of captcha. Render is called a single time in our init. Any ideas? I am baffled 😂
3 Replies
nProtect
nProtect•8mo ago
Me too, turnstile.ready function are fire twice, I dont know why. Now I use workaround by ignore second callback, hope they fix soon.
mhanley
mhanleyOP•8mo ago
Found in the turnstile channel, it looks like turnstile.ready is running twice, so we are following their advice and adding a check for first run - so far so good! Same! So bizarre
x_machina
x_machina•8mo ago
... any news on a resolution?

Did you find this page helpful?