You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have swipeable button, that used as a target. I also set passTouchEventToAnchor = true.
Problem - when I start swiping everything work as expected, button have actual swipeable state, but if I move finger outside target element I have not receive touch event.
I think this can happened because of next part in lib
So, whenever swipe goes out of target container I don't receive any event at all and my button "freeze" with "half-swipe" state, even I move my finger out of screen.
The text was updated successfully, but these errors were encountered:
Hey @ahrybuk, so you mean, the touch dispatcher works well if you exactly touch inside the anchor, but it doesn't delegate the even when you swipe, right?
@skydoves hi, thanks for quick response.
I mean, it's delegate correctly while you swiping inside target container area, but if swipe starts going outside target area - swipeable button does not receive any event and think that user still touch button in the place, where swipe goes outside target container.
I have swipeable button, that used as a target. I also set passTouchEventToAnchor = true.
Problem - when I start swiping everything work as expected, button have actual swipeable state, but if I move finger outside target element I have not receive touch event.
I think this can happened because of next part in lib
if (rect.contains(event.rawX.toInt(), event.rawY.toInt())) {
anchor.rootView.dispatchTouchEvent(event)
true
} else {
false
}
So, whenever swipe goes out of target container I don't receive any event at all and my button "freeze" with "half-swipe" state, even I move my finger out of screen.
The text was updated successfully, but these errors were encountered: