Hey all. Can someone chime in for a problem I am having? I wanted to create a slider style button where additional actions are hidden beneath.
The current setup is as below. And I can't get the surface below the card to register taps. Does moving the top layer card not expose tap-able surface of the view beneath?
you have conflicting gesture detection in the sibling tree nodes (clickable and swipeable both children of the box). Sicne they are not parent-child but siblings, they are not able to collaborate properly together.You can try a few things.1. Make swipeable to be a top-level box modifier. It should work since there will be a parent-child gesture chain (we have the same code in SwipeToDismiss component)
2. Try to swap
to be before
. This way your swipeable area will be a top white one, because swipeable bounds will be calculated after offset is applied
3. Consider using experimental SwipeToDismiss that we have in the public API. It seems like it might solve the case you want.