swiping is too sensitive for opening the drawer and its blocking ontouch= for touchableopacities on some phones (android) when not tapped so fast.
*update
// swipe right to open left drawer
if (!leftDisabled && this.isLeft && x0 <= width * 0.2 && !isOpen && dx > 10) {
this.isLeftActive = true;
return true;
}
// swipe left to open right drawer
if (!rightDisabled && this.isRight && x0 >= this.MAX_DX && !isOpen && dx < -10) {
this.isRightActive = true;
return true;
}
checking dx aganist 10 instead of 0 fixed it for me. maybe sensitivity props. can be added to the component.
swiping is too sensitive for opening the drawer and its blocking ontouch= for touchableopacities on some phones (android) when not tapped so fast.
*update
checking dx aganist 10 instead of 0 fixed it for me. maybe sensitivity props. can be added to the component.