[Title] Do not hide keypad when webview has not focus
[Issue#] N_SE-37413
[Problem] Keypad did hiding when editor state was changed
[Cause] Do not check webview focus
[Solution] Hide keypad if webview has focus
Change-Id: I2964d8a79a35db1afd364c6b6184140b5b0e77ec
m_focused = false;
- if (ecore_imf_context_input_panel_state_get(m_context.get()) != ECORE_IMF_INPUT_PANEL_STATE_HIDE) {
+ if (ecore_imf_context_input_panel_state_get(m_context.get()) != ECORE_IMF_INPUT_PANEL_STATE_HIDE
+ && evas_object_focus_get(m_viewImpl->view())) {
ecore_imf_context_reset(m_context.get());
ecore_imf_context_input_panel_hide(m_context.get());
ecore_imf_context_focus_out(m_context.get());