[Title] Cancel focus ui when ewkview loses focus
[Issue#] N_SE-49420
[Problem] Two focus rings are appeared on screen
[Cause] Do not hide focus ring when ewkview loses focus
[Solution] Cancel focus ui when ewkview loses focus
Change-Id: I3247d7ca50b080ce1e01fa6fdac6551de25f6ec1
void InputMethodContextEfl::handleKeyDownEvent(const Evas_Event_Key_Down* downEvent, bool* isFiltered)
{
#if ENABLE(TIZEN_FOCUS_UI)
- if (s_shouldUseExternalKeyboard)
+ if (s_shouldUseExternalKeyboard && strncmp(downEvent->keyname, "XF86", 4))
m_viewImpl->page()->setSpatialNavigationEnabled(true);
#endif
}
#endif
+#if ENABLE(TIZEN_FOCUS_UI)
+ m_viewImpl->page()->setSpatialNavigationEnabled(false);
+#endif
+
if (!m_context || !m_focused)
return;