Container "long press action" triggered both on_click
and on_long_press
events
#2712
Labels
bug
Something isn't working
on_click
and on_long_press
events
#2712
Description
Container long press triggered both on_click and on_long_press events when I test this events in flet android test app.
command:
flet run --android
Code example to reproduce the issue:
Describe the results you received:
![Screenshot_2024-02-22-04-20-44-856_com appveyor flet](https://private-user-images.githubusercontent.com/35882740/306798226-6917eefa-5244-4d44-9a48-003821f96d04.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNjQyNjIsIm5iZiI6MTczOTM2Mzk2MiwicGF0aCI6Ii8zNTg4Mjc0MC8zMDY3OTgyMjYtNjkxN2VlZmEtNTI0NC00ZDQ0LTlhNDgtMDAzODIxZjk2ZDA0LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEyMzkyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdiNjViMTA5N2NjMGM0MzExZGEwNjZjMGRkYzg5OGVmYjhiZjJhYmJiNjA0MTNmYzJhM2VmNmNiNmJkYzA1NzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.FzrwRp5ElVqWZAjAZ7AM8Hxfg7-dPQXyymISXzdEeRE)
Describe the results you expected:
Expected it to trigger only
long_press
event on "long press" action even when bothon_click
andon_long_press
event methods are set.Flet version (
pip show flet
):Give your
requirements.txt
file (don'tpip freeze
, instead give direct packages):Operating system:
Kali Linux - debian based OS
Additional environment details:
Test environment is Flet android testing app.
The text was updated successfully, but these errors were encountered: