Closed
Bug 1101336
Opened 10 years ago
Closed 10 years ago
Caret could not show up while selection is triggered by selectAllChildren API
Categories
(Core :: DOM: Selection, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: steveck, Unassigned)
References
Details
+++ This bug was initially created as a clone of Bug #1092437 +++ Reproduce step: 1. Set a non-editable element to user-select: text/all to enable text selection 2. Call selectAllChildren to trigger selection Actual result: All the content will be selected with reverse type and text copy/select all bubble, but the caret does not show up and range is unchangeable Expected result: Caret should show up with changeable range It's the required feature: enable text selection for message bubble in Bug #1092437, so set the dependency for gaia feature.
Reporter | ||
Comment 1•10 years ago
|
||
This it's a critical issue for 2.2 text selection feature in gaia message app bubble selection, nominate blocking flag here.
blocking-b2g: --- → 2.2?
Comment 2•10 years ago
|
||
Works for me in my local machine once removing element.focus() call. Are you sure you enable pref "selectioncaret.noneditable"?
Flags: needinfo?(schung)
Reporter | ||
Comment 3•10 years ago
|
||
(In reply to Morris Tseng [:mtseng] from comment #2) > Works for me in my local machine once removing element.focus() call. Are you > sure you enable pref "selectioncaret.noneditable"? Ah, I think I missed the selectioncaret.noneditable pref. After adding the pref and moving the focus before selection API, it works fine now. Thanks!
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(schung)
Resolution: --- → WORKSFORME
Updated•10 years ago
|
blocking-b2g: 2.2? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•