Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The text areas are interfering with typing

  1. Nov 7, 2015 #1

    Strilanc

    User Avatar
    Science Advisor

    Whenever I'm typing text into a reply box on this forum, I noticd that my cursor and selection like to jump around on their own.

    This happens a lot when trying to cut and paste things(with ctrl+x and ctrl+v, not with the mouse), but not always. I'll cut something, decide not to move it, paste it back, and suddenly the text is at the start of the paragraph instead of where I just cut it from.

    The problem is especially egregious on my android phone for some reason. Anytime I try to paste by long-clicking, the long-click is cancelled by some kind of a focus change.

    Please check for any javascript reacting to keyboard events that has side effects on the text area, then kill that javascript with fire. It is *really* frustrating. I often have to edit posts in a separate text editor because the reply text area is so tempermental.
     
  2. jcsd
  3. Nov 7, 2015 #2

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    I never had that problem with Firefox. Something browser-specific?
     
  4. Nov 7, 2015 #3

    berkeman

    User Avatar

    Staff: Mentor

    Is this just on your phone, or on a tablet as well. You don't see this with a laptop or desktop, right? Just trying to understand on what devices this is showing up for you...
     
  5. Nov 7, 2015 #4

    Strilanc

    User Avatar
    Science Advisor

    The cancelled long-press issue is unique to the android phone (on firefox), but the general issues also apply to my windows machine on firefox and my ubuntu machine on chrome.

    It's possible that it has something to do with me using script blocking extensions (noscript, scriptsafe, remove-it-permanently, ublock, etc), but usually that *fixes* these kinds of UI-not-acting-like-default issues instead of causing them.

    I assume you can trigger the issue by writing a bunch of text into the reply box then trying to move around it with the keyboard while copying and pasting chunks of text.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: The text areas are interfering with typing
  1. Invisible Text (Replies: 20)

Loading...