X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Installed Firefox 15 Cursor will go only to beginning of text boxes

Posted

Just installed Firefox 15 When I navigate to any text box, either on a webpage or in either URL area or search area on toolbar, the cursor will only appear at beginning of box Before, when I had something already typed in text box, I could always hit End key to take cursor to end of URL or search box Or I used to click and darken on a line of writing in URL text box, then delete it rapidly; cannot do this now Have Windows XP, Service Pack 3 Example lGoogle Cannot move cursor to end of typed word "Google" and backspace in either URL or search text box on toolbar

Modified by 11DeadlySins

Chosen solution

If you have 3 minutes, you can do it! Faster than migrating to Chrome!

(1) Install the Stylish extension: https://addons.mozilla.org/firefox/addon/stylish/

(2) After restarting Firefox, click the Stylish "S" icon on the Add-on bar > Write new style > Blank Style

(If you do not usually display the Add-on bar, press Ctrl+/ to display it. If the "S" icon is not there, drag it from the Customize dialog, which you can show using Alt+v > Toolbars > Customize)

(3) In the editor, paste this:


@namespace url(http://www.w3.org/1999/xhtml); *:-moz-placeholder:focus { color: transparent !important; } *[autofocus]:-moz-placeholder:focus { color: graytext !important; }

(4) Give it a name, and click Save.

Read this answer in context 15

Additional System Details

This happened

Every time Firefox opened

This started when...

I downloaded and applied Firefox 15 today

Installed Plug-ins

  • Shockwave Flash 11.4 r402
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 10.5.1 for Mozilla browsers
  • GEPlugin
  • 5.1.10411.0

Application

  • User Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0

More Information

When I navigate to any text box, either on a webpage or in either URL area or search area on toolbar, the cursor will only appear at beginning of box Before, I could always hit End key to take cursor to end of box Or I used to click and darken on a line of writing in text box, then delete it rapidly; cannot do this now
Have Wiindows XP, Service Pack 3

jscher2000
  • Top 10 Contributor
2365 solutions 20922 answers

There is a change in Firefox 15 that might explain part of this. Previously, when sites displayed "placeholder" text in a form field, it would vanish as soon as you clicked or tabbed into the field. Now that placeholder text stays there until you type at least one character. Because the placeholder text is more like a background image than actual text, you can't edit, delete, or move past it.

I'm running 15 beta, and Home, End, and arrows still work for me in the URL bar and in form fields like the one I'm typing in (as long as there is real text instead of a placeholder). Are you having problems there as well?

kevinc99 0 solutions 3 answers

Is there a way to make the placeholder text behave as previously so that it disappears on focus rather than after typing? It's my understanding that they changed this primarily because of textboxes that receive focus when a page loads. That's fine for those specific textboxes, but it's incredibly annoying for every other textbox. Most people have become accustomed placeholder text disappearing on focus. Most web designers who have used placeholder text before HTML 5 via Javascript expect it to disappear on focus. That's why most tied it to the OnFocus event.

jscher2000
  • Top 10 Contributor
2365 solutions 20922 answers

Hi kevinc99, I feel your pain. Unfortunately, it appears that it won't be changing back:

There may well be a way to override it on the user's end using a style rule in userContent.css (for pages) and/or userChrome.css (for the search box) (or the Stylish extension for either of them), but this would take some research and testing to work out.

From the site's end, well, JavaScript may have to return.

kevinc99 0 solutions 3 answers

Hi jscher2000,

Thanks for the info. I was afraid of that. It is quite annoying.

I played around a bit with CSS for Stylish and came up with the style below that seems to work for now.


*:-moz-placeholder:focus { color: transparent !important;

}

Hope this is helpful for others, too.

Modified by kevinc99

kevinc99 0 solutions 3 answers

Here's an update that still accomplishes what Mozilla is trying to avoid with the change: The placeholder text for autofocused elements remains visible even when focused until the user types something, but for all non-autofocused elements, the placeholder text disappears on focus.

*:-moz-placeholder:focus {
   color: transparent !important;
} 

*[autofocus]:-moz-placeholder:focus {
   color: graytext !important;
}

Modified by cor-el

Question owner

Thanks for all your replies. Am only having problems w/ text boxes in URL and search and webpages that have placeholders. Am not able to work w/ CSS and do the changes that kevinc99 suggests. Too busy to teach CSS to myself now. Inability to manipulate placeholders is a deal breaker for me, so am going to switch off to Google Chrome.

jscher2000
  • Top 10 Contributor
2365 solutions 20922 answers

Chosen Solution

If you have 3 minutes, you can do it! Faster than migrating to Chrome!

(1) Install the Stylish extension: https://addons.mozilla.org/firefox/addon/stylish/

(2) After restarting Firefox, click the Stylish "S" icon on the Add-on bar > Write new style > Blank Style

(If you do not usually display the Add-on bar, press Ctrl+/ to display it. If the "S" icon is not there, drag it from the Customize dialog, which you can show using Alt+v > Toolbars > Customize)

(3) In the editor, paste this:


@namespace url(http://www.w3.org/1999/xhtml); *:-moz-placeholder:focus { color: transparent !important; } *[autofocus]:-moz-placeholder:focus { color: graytext !important; }

(4) Give it a name, and click Save.

Question owner

Thank you!!!!!

cor-el
  • Top 10 Contributor
  • Moderator
10753 solutions 96760 answers

You can use Ctrl+End to go to the end of the text in a text area (Ctrl+Home to the begin).


  • bug 673873 - display placeholder when focusing an empty input

(please do not comment in bug reports)

hollydolly 0 solutions 4 answers

Thank you for the info regarding the "Stylish" add-on - works great! I tried Google Chrome - and this is happening with this browser as well!! Very annoying!!  :(

Modified by hollydolly

Phil Marcus 0 solutions 5 answers

Bless you.