Revert "[Tizen] Revert "Changes after touch consumed behaviour change""
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 7 Sep 2020 06:29:50 +0000 (15:29 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Mon, 7 Sep 2020 06:29:50 +0000 (15:29 +0900)
This reverts commit 6030456989cf5cd8758c45191a3861f289c863f5.

examples/gestures/gesture-example.cpp
examples/text-field/text-field-example.cpp

index 54b4daa..5ac3126 100644 (file)
@@ -255,7 +255,7 @@ private:
         break;
       }
     }
-    return true;
+    return false;
   }
 
   /**
index 8e9614e..e0e8ceb 100644 (file)
@@ -154,7 +154,7 @@ public:
   bool OnPopupTouched( Actor actor, const TouchEvent& event )
   {
     // End edit mode for TextField if parent Popup touched.
-    if(event.GetPointCount() > 0)
+    if((event.GetPointCount() > 0) && (mPopup == event.GetHitActor(0)))
     {
       switch( event.GetState( 0 ) )
       {
@@ -177,7 +177,7 @@ public:
       } // end switch
     }
 
-    return true;
+    return false;
   }
 
   /**