|
@@ -130,11 +130,8 @@ def test_remove_and_clear(screen: Screen):
|
|
|
|
|
|
def test_setting_visibility_in_timer(screen: Screen):
|
|
|
'''reproduction of https://github.com/zauberzeug/nicegui/issues/206'''
|
|
|
- label: ui.label = None
|
|
|
-
|
|
|
@ui.page('/')
|
|
|
def page():
|
|
|
- nonlocal label
|
|
|
label = ui.label('Some Label')
|
|
|
ui.timer(1, lambda: label.set_visibility(False))
|
|
|
|