Tunous / SwipeActionView

Android swipe-able view, which allows users to perform actions with swipe gestures.
Apache License 2.0
196 stars 16 forks source link

Fix clicking buttons inside view doesn't always work #34

Closed Goodwy closed 6 months ago

Goodwy commented 7 months ago

This change fixes the problem of clicking on any button inside the SwipeActionView. Even in the example that comes with the library, the "swipe_left" and "swipe_right" buttons are clicked 1-2 times out of 5. I'm not sure if this solution is correct, but I haven't found any problems with this change yet.

Tunous commented 6 months ago

Thanks for the pull request. I couldn't reproduce any clicking issues before this change but I'm going to accept it. I don't see anything wrong with updated code either.