[Title] Fix openning picker when view does not have focus
[Issue#] N/A
[Problem] picker is not shown
[Cause] do not set the focus the entry is for the picker
[Solution] do not focus just when picker is already shown
Change-Id: I04b3ea73b274d3255f429ec4bf5e274964cb1f94
|| m_editorState.inputMethodHints == "datetime-local"
|| m_editorState.inputMethodHints == "month"
|| m_editorState.inputMethodHints == "time"
- || m_editorState.inputMethodHints == "week")
- break;
+ || m_editorState.inputMethodHints == "week") {
+ InputMethodContextEfl* inputMethodContext = static_cast<PageClientImpl*>(m_pageClient)->viewImpl()->inputMethodContext();
+ if (inputMethodContext->inputPickerType() == -1)
+ break;
+ }
#endif
evas_object_focus_set(viewWidget(), true);
}
void hideIMFContext();
bool isIMEPostion(int, int);
void removeIMFContext(uintptr_t);
+ int inputPickerType() { return m_inputPickerType; }
#endif
private: