Replies: 3 comments 3 replies
-
Please provide some more context (code, video capture). |
Beta Was this translation helpful? Give feedback.
2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
As suggested by @FeodorFitsner, I added a small time delay/sleep just before opening the new/second dialog as seen in the modified def showSecondModal(e):
# close the first dialog, update the page, sleep...
first_dlg.open = False
page.update()
time.sleep(0.01)
# ... before opening the second dialog
page.dialog = second_dlg
second_dlg.open = True
page.update() Little Notes:
Let me know if you have any questions. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
bonjour ! j'ai un souci avec le contrôle alertDialog de flet, j'ai ouvert un premier alertdialog qui contient un contenaire avec un bouton qui doit en principe ouvrir un autre alertdialog, ce dernier s'ouvre mais le premier bug!
Code sample
No response
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions