Revert "[Tizen] Revert "Changes after touch consumed behaviour change""
authorseungho <seungho@seungho.tn.corp.samsungelectronics.net>
Wed, 28 Oct 2020 12:31:06 +0000 (21:31 +0900)
committerseungho <seungho@seungho.tn.corp.samsungelectronics.net>
Wed, 28 Oct 2020 12:31:06 +0000 (21:31 +0900)
This reverts commit 43149e305b315860e75b6283c9cf9dfd4f0b1d7b.

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

index 381852d..129a1b7 100644 (file)
@@ -247,7 +247,7 @@ private:
         break;
       }
     }
-    return true;
+    return false;
   }
 
   /**
index 7bae750..307c0df 100644 (file)
@@ -152,7 +152,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))
       {
@@ -175,7 +175,7 @@ public:
       } // end switch
     }
 
-    return true;
+    return false;
   }
 
   /**