Open pekspro opened 2 years ago
Another possible workaround is to move OnPropertyChanged
lines to an event handler attached to SwipeEnded
event.
verified repro with above repro project on windows, swipe doesn't work. repro project: MauiIssues.zip on android:
Toggle
is executed twice, first is set to false, and immediately it is set to true.
"swipe doesn't work on Windows"
Are you using a touch screen?.
"swipe doesn't work on Windows"
Are you using a touch screen?.
I meant that touch events doesn't work with mouse in Windows :-) That's another issue :-)
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
I've updated sample application to .NET 7. The same issue remains.
Verified this on Visual Studio Enterprise 17.6.0 Preview 7.0. Repro on Android 13.0 with below Project: 7580.zip
Swipe second item to set it not completed. It will execute twice.
SwipeView 本身就是用于触碰而设计的吧。
Description
Let's say you have a to do list. There are two swipe commands for each item:
Only one option is visible at the time. If you execute the first swipe item, then the second one will become visible and then this is executed as well.
Steps to Reproduce
Full sample: https://github.com/pekspro/MauiIssues/tree/7580_Changing_visibility_on_SwipeItem_multiple_execution
Version with bug
6.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
Android 11
Did you find any workaround?
In the mentioned scenario, just use one command, and use converters to change to content. But I guess there are other cases where this is not possible.
Relevant log output
No response