Revert "[Tizen] Revert "Changes after touch consumed behaviour change""
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 18 Aug 2020 07:54:12 +0000 (16:54 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Tue, 18 Aug 2020 07:54:12 +0000 (16:54 +0900)
This reverts commit a347f89fd9c9ee33e639c58b521f67c57b68a106.

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

index c76496b..a3a927d 100644 (file)
@@ -258,7 +258,7 @@ private:
         break;
       }
     }
-    return true;
+    return false;
   }
 
   /**
index b2478b3..a401d77 100644 (file)
@@ -154,7 +154,7 @@ public:
   bool OnPopupTouched( Actor actor, const TouchData& 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;
   }
 
   /**