Open aurosevic opened 1 year ago
Can you attach the app's code?
Hey @ndonkoHenri, sure!
Here's a link to a smaller version of the project mentioned above: https://gist.github.com/aurosevic/8cc6c2713be2fb020fc492781a7c567e
I've identified the problem, but I'm still searching for a solution. The issue arises from line 18 in the provided gist, causing the Tabs structure to break. When ScrollMode is defined on the same page as Tabs, Tabs do not function properly.
This becomes problematic when I want to have Tabs and some other elements simultaneously on a page. Do you know the reason behind this behavior, and is there a solution other than restricting the use of ScrollMode on pages with Tabs?
@FeodorFitsner @ndonkoHenri Any idea what could be the problem?
Currently, I set the scroll to None each time the user selects a page containing Tabs. While this approach works, it appears inelegant in the code.
Description After changing the view using the navigation bar to another 'NavigationDestination' and then returning to the one with tabs, the tabs completely break and become unresponsive. This issue occurs consistently every time I follow this sequence.
https://github.com/flet-dev/flet/assets/19304661/570a9520-8a5b-4823-b5e5-247a6de7a73b
Code example to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Flet version (
pip show flet
):Operating system:
KDE Neon 5.27
Additional environment details: