Share feedback, ideas and get community help

Updated 10 months ago

Safari on Big Sur - Wordpress Shortcode Issue

Just wanted to bring this to your attention @Baptiste. I discovered through some testing that the shortcodes on a Wordpress site do not work on Safar in Big Sur. iFrame works fine though.
c
B
5 comments
Actually, in further testing, it appears the typebot is getting hung up on Big Sur. Looks like the code I'm using to generate a random number isn't working. Any ideas?
Plain Text
let randomNum = Math.floor(Math.random() * 1000000);
let code = String(randomNum).padStart(6, '0');
return code;
Here is what's showing up in the javascript log.
Plain Text
[Error] Unhandled Promise Rejection: TypeError: o8().findLast is not a function. (In 'o8().findLast(t=>e.inputIndex===t.inputIndex)', 'o8().findLast' is undefined)
    Z (960.4288d6c7d8a2073d.js:1:4944)
    G (960.4288d6c7d8a2073d.js:1:4052)
    j (960.4288d6c7d8a2073d.js:1:2582)
    (anonymous function) (960.4288d6c7d8a2073d.js:1:206131)
    asyncFunctionResume
    (anonymous function)
    promiseReactionJobWithoutPromise

[Error] Unhandled Promise Rejection: TypeError: o8().findLast is not a function. (In 'o8().findLast(t=>e.inputIndex===t.inputIndex)', 'o8().findLast' is undefined)
    Z (960.4288d6c7d8a2073d.js:1:4944)
    G (960.4288d6c7d8a2073d.js:1:4052)
    j (960.4288d6c7d8a2073d.js:1:2582)
    (anonymous function) (960.4288d6c7d8a2073d.js:1:206131)
    asyncFunctionResume
    (anonymous function)
    promiseReactionJobWithoutPromise
Let me know if you need anything else from me to troubleshoot this further @Baptiste
Will try to reproduce soon πŸ™
Probably a function not compatible with the Safari version (https://caniuse.com/?search=padstart)
Add a reply
Sign up and join the conversation on Discord