-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] SwipeView with transparent bg in element #12614
Comments
@Tommigun1980 Is this the behavior you are looking for? You could achieve it using the SwipeTransitionMode Platform Specific. In any case, reviewing this case, the behavior and possibilities. |
Hi @jsuarezruiz and thanks for the suggestion. I had avoided that mode because it would fix it for iOS only but not for Android though. |
@jsuarezruiz I tested it as a fix for iOS only in the time being, and it exposes the same problem as outlined in this report. When pulling an item 'back', the swipe item doesn't slide out and instead stays put. If you have an item that is shorter than the swipe item the exact same issue happens even in that mode. Please see the following video: Is it a bug that the swipe item only slides in but not out? Here I pull the item out and back without letting go of touch, which does seem to work properly: |
@jsuarezruiz Furthermore -- when you have lots of elements in a collection and use SwipeTransitionMode.Drag, it is so sensitive that it's almost impossible to use. The problem is that when trying to 'drag' out a swipe item it doesn't lock vertical scroll, so you end up scrolling vertically and pulling out an item. This either breaks the pull out animation or reveals the drag item but also scrolled the list a good way. I tried my best invoking these with one hand and two hands on the device, but just can't do it. I think it works fine in the simulator with a mouse and/or a list that doesn't have enough items to scroll, but absolutely not on a real device. Somehow SwipeTransitionMode.Drag exposes this problem even more. |
Hi.
SwipeView looks fine when the 'pullable' elements have a color that obscures the to-be-revealed swipe view button.
However, if you have transparent elements such as in the video below...
https://drive.google.com/file/d/1U5i1rXqwZnhh9XpSL5TulMkYAuVZswxs/view?usp=sharing
... the swipe view elements suddenly appear in a quite ugly manner. When the swipe view's contents are wider than the pullable element's the swipe view contents will draw completely behind the pullable element, and the 'swipe' effect is kinda lost. I think the most sensible fix would be to slide in the swipe view elements as the pullable element is dragged away, instead of just appearing from nowhere. In other words, I think expected behaviour would be that the swipe view contents would be "glued" to the contents and slide in from the right side when the element is pulled to the left, instead of just suddenly appearing underneath the pulled element.
Thanks.
The text was updated successfully, but these errors were encountered: