Changes after touch consumed behaviour change 64/239664/2
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 28 Jul 2020 18:00:28 +0000 (19:00 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 29 Jul 2020 16:08:36 +0000 (17:08 +0100)
Change-Id: I7ee6b895d7f7fbdb336a5c49c7eebac1ffb42c55

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;
   }
 
   /**