fix onclick overlapped by onsingletap

This commit is contained in:
王劲鹏 2021-12-10 14:14:13 +08:00 committed by osborn
parent b6e563e830
commit 7edaf08c18

View File

@ -173,6 +173,10 @@ public class GestureContainerNode extends StackNode {
if (onSingleTap != null) {
callJSResponse(onSingleTap);
}
if (mView.hasOnClickListeners()) {
mView.performClick();
}
return super.onSingleTapConfirmed(e);
}