Replies: 1 comment
-
Please build a runnable code sample so we can test and investigate. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
After upgrading to flet v0.21.1, the DatePicker control now freezes my app whenever I try to switch from a page that doesn't contain a DatePicker to a page that contains the DatePicker.
Code example to reproduce the issue:
Changing the
on_change
method to an empty function, likelambda _ : print()
doesn't solve the problem, so the method is irrelevant. Even an emptyDatePicker
as inself.date_picker = DatePicker()
doesn't change anything. Only removing this control solves the problem.Describe the results you received:
The app is frozen. Clicking in any buttons won't cause anything. App won't switch pages when clicking on navigation buttons.
Describe the results you expected:
Page in which the DatePicker is located should appear on the screen.
Additional information you deem important (e.g. issue happens only occasionally):
Flet version (
pip show flet
):Operating system: Windows
Additional information: rolling back to version v0.20.2 fixes the problem. Version v0.21.0 also has the same problem.
Beta Was this translation helpful? Give feedback.
All reactions