Closed
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
I use Flet v0.25.1 on Windows 11.
I want to use Dismissible with VERTICAL dismiss direction.
It looks like dismiss_direction
parameter is not taken into account.
In the following code sample, I use print(f"Direction: {e.direction}")
and always get
Direction: DismissDirection.START_TO_END
import flet as ft
def main(page):
page.add(
ft.Dismissible(
content=ft.Container(
ft.Text( " Hello "),
width=page.width,
height=50,
bgcolor='amber100'
),
dismiss_direction=ft.DismissDirection.VERTICAL,
on_update=lambda e: print(f"Direction: {e.direction}")
)
)
ft.app(main)
Code sample
Code
[Paste your code here]
To reproduce
Execute the code sample
Expected behavior
Dismiss VERTICALY
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
Windows 11
Flet version
0.25.1
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response
Metadata
Metadata
Assignees
Labels
No labels