Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[WEEX-299][android] Touch event will transmit to next layer, requestD…
Browse files Browse the repository at this point in the history
…isallowInterceptTouchEvent should be reset for every touch event
  • Loading branch information
jianbai.gbj committed Apr 27, 2018
1 parent 21aa9ab commit 5575e16
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ private boolean shouldBubbleTouchEvent(MotionEvent event){
@Override
public boolean onTouch(View v, MotionEvent event) {
if(requestDisallowInterceptTouchEvent){
requestDisallowInterceptTouchEvent = false;
return false;
}
try {
Expand Down

0 comments on commit 5575e16

Please sign in to comment.