You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When accessing NiceGUI other than using localhost address, the browser JS console shows TypeError: crypto.randomUUID is not a function (nicegui.js:339). UI elements are rendered correctly, but no callback seems to work.
Interesting. crypto.randomUUID is only available locally or when serving https: https://stackoverflow.com/a/2117523/364388. I think we should try to use crypto.randomUUID and if it fails we should fall back to a custom uuid generation function (like the one from the StackOverflow answer).
Description
Description
When accessing NiceGUI other than using
localhost
address, the browser JS console showsTypeError: crypto.randomUUID is not a function
(nicegui.js:339). UI elements are rendered correctly, but no callback seems to work.Minimal example to reproduce the issue:
Open browser dev tools console to see the error message.
The text was updated successfully, but these errors were encountered: