Sometimes, ctxpopup was not hidden when drag.
When select new word on drag, ctxpopup should be hidden.
Change-Id: Ic206d3d086b20cfa37eb3fea5c1fd48e58b86139
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
int cur_pos = edje_object_part_text_cursor_pos_get
(sd->entry_edje, "elm.text", EDJE_CURSOR_MAIN);
if (cur_pos != sd->cursor_move_pos)
- _select_word(data, NULL, NULL);
+ {
+ // TIZEN_ONLY (20170112): hide ctxpopup during long press and drag
+ if ((sd->api) && (sd->api->obj_hidemenu))
+ sd->api->obj_hidemenu(data);
+ //
+ _select_word(data, NULL, NULL);
+ }
//
}
//