Fix for keypad issue
authorhyun lee <hyunn.lee@samsung.com>
Wed, 3 Jul 2013 07:12:55 +0000 (16:12 +0900)
committerhyun lee <hyunn.lee@samsung.com>
Wed, 3 Jul 2013 07:12:55 +0000 (16:12 +0900)
Change-Id: Id6a867d548c1ca53e66700947432d3f2bcd6b94c
Signed-off-by: hyun lee <hyunn.lee@samsung.com>
src/controls/FWebCtrl_WebImpl.cpp

index e9daf76..28fed3f 100644 (file)
@@ -1871,7 +1871,7 @@ OnWindowObjectFocusGained(void* pUserData, Evas_Object* pWin, void* pEvent_info)
        _WebImpl* pImpl = reinterpret_cast< _WebImpl* >(pUserData);
        SysAssertf(pImpl, "Failed to request");
 
-       if (pImpl->IsKeypadOpened() == true && pImpl->IsVisible() == true)
+       if (pImpl->IsKeypadOpened() == true && pImpl->IsVisible() == true && pImpl->IsFocused())
        {
                _Web* pWebCore = dynamic_cast< _Web* >(&(pImpl->GetCore()));
                SysAssertf(pWebCore, "Failed to get Web core object");