Переглянути джерело

add note about limitation of the "global scope" demo (fixes #4338)

Falko Schindler 2 місяців тому
батько
коміт
2b6dd562b2

+ 3 - 0
website/documentation/content/refreshable_documentation.py

@@ -112,6 +112,9 @@ def global_scope():
         ui.button('Refresh', on_click=time.refresh)
 
     ui.link('Open demo', demo)
+    # END OF DEMO
+    ui.label('Note: This demo may not work as expected on nicegui.io due to load balancing across multiple servers. '
+             'For accurate results, please run this example locally on your machine.').classes('text-gray-600')
 
 
 @doc.demo('Local scope (variant A)', '''