FLUID-1957: Caret not placed in rich text editor upon activation of inline edit field: using FF2

Metadata

Source
FLUID-1957
Type
Bug
Priority
Minor
Status
Closed
Resolution
Duplicate
Assignee
N/A
Reporter
Justin Obara
Created
2008-12-11T09:41:14.000-0500
Updated
2011-01-10T10:08:53.596-0500
Versions
  1. 0.6
  2. 0.7
  3. 0.8
  4. 1.0
  5. 1.1
  6. 1.1.1
  7. 1.1.2
  8. 1.2
  9. 1.3
Fixed Versions
N/A
Component
  1. Inline Edit

Description

Caret not placed in rich text editor upon activation of inline edit field

Steps to reproduce:

1) Open the rich text inline edit example:
http://build.fluidproject.org/infusion/demos/inlineEdit/rich/demo.html

2) Click on one of the lines of text to open up the inline edit field in edit mode

3) Notice that the caret is not placed inside the rich text editor automatically

Environments

FF2 (Mac OS 10.5, Win XP)
FF3 (Win7)

Comments

  • Justin Obara commented 2009-02-06T12:57:22.000-0500

    Bug Parade 0.8 release

  • Justin Obara commented 2009-02-09T08:53:49.000-0500

    Seems to only be an issue with FF2 now.

    quote from Antranig's comment on FLUID-2203
    "Secondly, there is much improved behaviour on initial focusing - that is, the control is correctly focused and the caret is moved to the end of the editable area on edit, at least, on those browsers which correctly implement the respective rich text control's APIs. This doesn't work on FF2, but it is possible that our hard-won hack in fluid.setCaretToEnd could be brought in to patch up this particular case."

  • Justin Obara commented 2009-02-09T08:54:42.000-0500

    Update environments

  • Antranig Basman commented 2009-02-16T17:44:52.000-0500

    I have tried fairly strenuously to get this to work, but the only really productive thing to do in FF2 is to disable any attempts to set focus to these kinds of controls since on TinyMCE this can even cause it to lock up and become uneditable. Since this only affects one (aging) browser I have downgraded it to minor and punted it forwards.

  • Justin Obara commented 2010-05-07T14:42:49.132-0400

    a11y issue

  • Jonathan Hung commented 2011-01-07T15:26:18.530-0500

    Occurs in FF3 as well. Sometimes the caret is not rendered, but typing will reveal that an invisible caret is at the end of the text.