diff --git a/cocos/ui/UIScrollView.cpp b/cocos/ui/UIScrollView.cpp index 0d3488a217..7a248e739c 100644 --- a/cocos/ui/UIScrollView.cpp +++ b/cocos/ui/UIScrollView.cpp @@ -953,7 +953,8 @@ void ScrollView::interceptTouchEvent(Widget::TouchEventType event, Widget *sende Layout::interceptTouchEvent(event, sender, touch); return; } - + if(_direction == Direction::NONE) + return; Vec2 touchPoint = touch->getLocation(); switch (event) {