Explorar o código

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

Falko Schindler hai 3 meses
pai
achega
2b6dd562b2
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      website/documentation/content/refreshable_documentation.py

+ 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)', '''