Open bardigolriz opened 1 year ago
Hmm yeah I think it's because contextMenu
creates a snapshot of the view for the scale effect. Try setting swipeMinimumDistance
to a lower value (starts the swipe gesture earlier):
.swipeMinimumDistance(0.5)
Unfortunately this doesn’t help, also when reduced to an even lower value :( To be clear, it doesn’t appear to make any difference.
When the control wrapped inside the
SwipeView
contains a.contextMenu
modifier, swiping it will semi-occasionally momentarily result in a non-smooth duplication of the wrapped view:When I removed the contextMenu, it worked perfectly fine. I believe it is as simple as that, but if you need more information, please let me know.