NEW150747
[WebKit2] Gesture Recognition during text editing is often blocked by WKContentView gesture recognition
https://bugs.webkit.org/show_bug.cgi?id=150747
Summary [WebKit2] Gesture Recognition during text editing is often blocked by WKConte...
Eugene Dudnyk
Reported 2015-10-30 19:07:36 PDT
- During setup of text editing state the WKContentView's gesture recognizers are not properly configured with dependencies to gesture recognizers of UIWKTextInteractionAssistant. - Area of recognition of WKContentView's gesture recognizers includes area of edited field as before editing. This leads to next issues: - When right after focusing text field perform a double-click on it's text, impossible to show loupe/menu on the cursor/move the cursor. To restore proper editing behavior, another text field should be focused. - Races occur between WKContentView's long-press gesture recognizers and UIWKTextInteractionAssistant's loupe long press gesture recognizer. Often one of WKContentView's long-press recognizers catches touches prior to loupe recognizer. Solution could be as follows: WKContentView should reject for recognizers listed below touches which hit area of edited text field during it's editing, in (gestureRecognizer:shouldRecieveTouch:) delegate callback: _highlightLongPressGestureRecognizer _longPressGestureRecognizer _doubleTapGestureRecognizer _twoFingerDoubleTapGestureRecognizer
Attachments
Radar WebKit Bug Importer
Comment 1 2015-10-30 19:07:59 PDT
Note You need to log in before you can comment on or make changes to this bug.