From a8756ff00a2fde30a6ef949d2135495ac8ee7b2e Mon Sep 17 00:00:00 2001 From: Manish R Gurnaney Date: Thu, 22 Aug 2013 00:45:05 +0530 Subject: [PATCH] Unable to Drag the content with Selection Handler. [Title] Unable to Drag the content with Selection Handler. [Issue#] P130812-05130 [Problem] Drag is not happening when content is Editable. [Cause] Current Drag is blocked for the elements with ContentEditable equal to true. [Solution] Do the calculation for both the elements whether contents are editable or not. Change-Id: Ic102935d99b177c7ded86eafcd4bea7c15f33b23 --- Source/WebKit2/UIProcess/API/efl/tizen/TextSelection.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/WebKit2/UIProcess/API/efl/tizen/TextSelection.cpp b/Source/WebKit2/UIProcess/API/efl/tizen/TextSelection.cpp index ee5330b..1d13023 100755 --- a/Source/WebKit2/UIProcess/API/efl/tizen/TextSelection.cpp +++ b/Source/WebKit2/UIProcess/API/efl/tizen/TextSelection.cpp @@ -362,10 +362,7 @@ void TextSelection::hideContextMenu() void TextSelection::scrollContentWithSelectionIfRequired(const IntPoint& evasPoint) { - EditorState editorState = m_viewImpl->page()->editorState(); - if (editorState.isContentEditable) - return; - + // Content should get scroll irrespective whether content is editable or not. setSelectionScrollingStatus(true); IntRect unscaledVisibleContentRect = m_viewImpl->pageClient->visibleContentRect(); const int scrollClipValue = 50; -- 2.7.4