When the text in combo is pressed and then the combo is focused out
(e.g. if the parent component is focused, the combo is focused out),
the popup list of combo disappears.
Change-Id: I6b2ad0f45e9f027a9a8732a3c5104689b7976949
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
if (!comboShellActivated) dropDown (false);
break;
}
+ /* Tizen */
+ /*
+ * When the text is pressed with the popup list visible.
+ */
+ Point textPoint = text.toControl(getDisplay().getCursorLocation());
+ Point textSize = text.getSize();
+ Rectangle textRect = new Rectangle(0, 0, textSize.x, textSize.y);
+ if (textRect.contains(textPoint)) {
+ break;
+ }
+ /* ===== */
dropDown (false);
break;
}