1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Cannot Highlight Text w/ Keyboard

Discussion in 'Troubleshooting and Problems' started by Alteran Ancient, Jan 20, 2015.

  1. Alteran Ancient

    Alteran Ancient Well-Known Member

    So, this is a bit of an odd one, and I'm having trouble trying to find out what the cause is.

    Basically, if you are using a multi-line text control (e.g. the status editor, or the non-Redactor message editor), you are unable to highlight any of the text without using the mouse exclusively.

    The moment you release a key on the keyboard, the text is de-selected. So you cannot use Shift + Arrow Keys in order to select letters or words, or anything for that matter. You can use the mouse to highlight content, but if you use the keyboard - even so much as just tapping "Ctrl" without doing anything, you'll lose the selection again.

    Have you ever heard of this happening? It does not seem to occur in the default style, but it does happen in our current style and is particularly annoying.

    This does not happen with single-line text fields, so all I can fathom is that it might be to do with the "Elastic" class and/or "textarea" fields and the "keyup" event in JavaScript.
     
  2. Liam W

    Liam W Well-Known Member

    You should probably contact the author of the style you're using - there may be something strange in a template.

    Liam
     
  3. Alteran Ancient

    Alteran Ancient Well-Known Member

    That's the funny thing, you see. It's our own style.
     

Share This Page