Buggy contenteditable behavior when defaultParagraphSeparator is set to p
Reported by
alexjfor...@gmail.com,
Apr 1 2016
|
|||
Issue descriptionTHIS TEMPLATE IS FOR FILING BUGS ON THE ANDROID SYSTEM WEBVIEW. GENERAL WEB BUGS SHOULD BE FILED USING A DIFFERENT TEMPLATE! Device name: Nexus 5X Android version: 6.0.1 WebView version (from system settings -> Apps -> Android System WebView): 49.0.2623.105 Application: Demo app (https://github.com/aforcier/WebView-defaultParagraphSeparator) Application version: N/A URLs (if applicable): Demo project exhibiting the bug (with a demo GIF in the README): https://github.com/aforcier/WebView-defaultParagraphSeparator Steps to reproduce: (1) Inside a system WebView, with the default keyboard and autocorrect enabled, load an html page with a contenteditable div, and with defaultParagraphSeparator set to 'p' (2) Type on software keyboard, with multiple newlines (3) Backspace several times after a few words, deleting multiple lines (4) Alternatively, type a word, press space, and then backspace immediately Expected result: Autocorrect should behave as it would without defaultParagraphSeparator set to 'p', treating each word separately. Actual result: Autocorrect selects parts of words when backspace places the cursor next to them, causing your next action to delete or move words or parts of words erratically (see the demo GIF attached and in the GitHub repo above for clarity).
,
Apr 18 2016
This also reproduces in Chrome, see https://jsfiddle.net/2oagqmb3/4/ This issue is fixed by --use-ime-thread on 52.0.2709.0. Let's not workaround in ReplicaInputConnection as this issue is likely longstanding, marking blocked on http://crbug.com/551193 .
,
Nov 4 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by gsennton@chromium.org
, Apr 18 2016