Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
index d3348f9b0560a6b6bec374c371de0d001aefcf05..e376899bf4524524810a175b561dd753af5f54e7 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
@@ -2270,10 +2270,10 @@ public class ContentViewCore |
// Makes the insertion/selection handles invisible. They will fade back in shortly after the |
// last call to scheduleTextHandleFadeIn (or temporarilyHideTextHandles). |
private void temporarilyHideTextHandles() { |
- if (isSelectionHandleShowing()) { |
+ if (isSelectionHandleShowing() && !mSelectionHandleController.isDragging()) { |
mSelectionHandleController.setHandleVisibility(HandleView.INVISIBLE); |
} |
- if (isInsertionHandleShowing()) { |
+ if (isInsertionHandleShowing() && !mInsertionHandleController.isDragging()) { |
mInsertionHandleController.setHandleVisibility(HandleView.INVISIBLE); |
} |
scheduleTextHandleFadeIn(); |