Revert "[Tizen] Revert "Changes after touch consumed behaviour change"
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 24 Aug 2020 05:54:57 +0000 (14:54 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Mon, 24 Aug 2020 05:54:57 +0000 (14:54 +0900)
This reverts commit a37b3f8e9666884aa4b4c19d3fa1523f37f408ee.

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

index 0bbeba1..fb5b4a7 100644 (file)
@@ -258,7 +258,7 @@ private:
         break;
       }
     }
         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.
   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 ) )
       {
     {
       switch( event.GetState( 0 ) )
       {
@@ -177,7 +177,7 @@ public:
       } // end switch
     }
 
       } // end switch
     }
 
-    return true;
+    return false;
   }
 
   /**
   }
 
   /**