blog.vorpal.cc

Hi! My name is David Hogue. I write code in Bend, Oregon.

January 2, 2008

Workaround for weird Firefox bug where the textarea cursor will dissappear

Filed under: — David @ 11:12 pm

Every once in a while I run across a bug in Firefox that basically hides the blinking cursor that is supposed to be in a textbox. It’s still there and I can still type, but I just can’t tell where the next character will appear. Every time this happens, I have to Google around a bit and find the Bugzilla bug describing it.

For my own reference: here is the bug report. It will be fixed in Firefox 3.0, the workaround is to add a style="overflow: auto" to a parent element of the textbox. Apparently it is caused by placing a textbox in a position: fixed element with a height.

I also found a fix over on Bram.us that is a bit of css that should fix every input and textarea on a page.

One Response to “Workaround for weird Firefox bug where the textarea cursor will dissappear”

  1. Would you be willing to help me fix this same problem in a web application I am making? I’ll give you a license of it for free if you do :)

Leave a Reply