The field and editor receive all tap events 22/263222/1
authorjoogab.yun <joogab.yun@samsung.com>
Mon, 30 Aug 2021 01:01:49 +0000 (10:01 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Mon, 30 Aug 2021 01:01:49 +0000 (10:01 +0900)
Change-Id: I5ae41eeb8f6b6840fb8570ac4b5ac3f9f81e3ef2

dali-toolkit/internal/controls/text-controls/text-editor-impl.cpp
dali-toolkit/internal/controls/text-controls/text-field-impl.cpp

index 47e4c0a..8cd971c 100644 (file)
@@ -1497,6 +1497,7 @@ void TextEditor::OnInitialize()
   // Forward input events to controller
   EnableGestureDetection(static_cast<GestureType::Value>(GestureType::TAP | GestureType::PAN | GestureType::LONG_PRESS));
   GetTapGestureDetector().SetMaximumTapsRequired(2);
+  GetTapGestureDetector().ReceiveAllTapEvents(true);
 
   self.TouchedSignal().Connect(this, &TextEditor::OnTouched);
 
index 6e08da1..12e915b 100644 (file)
@@ -1401,6 +1401,7 @@ void TextField::OnInitialize()
   // Forward input events to controller
   EnableGestureDetection(static_cast<GestureType::Value>(GestureType::TAP | GestureType::PAN | GestureType::LONG_PRESS));
   GetTapGestureDetector().SetMaximumTapsRequired(2);
+  GetTapGestureDetector().ReceiveAllTapEvents(true);
 
   self.TouchedSignal().Connect(this, &TextField::OnTouched);