Menu

#37 IE TextArea no-focus onclick in empty area

open
nobody
5
2008-04-07
2008-04-07
Anonymous
No

I think this issue is due to the textarea or pre having background-color set to transparent or something similar (i was able to reproduce this issue by setting background-color to "Transparent"). In IE when you click on the CodePress area, in a region not containing text, it doesn't cause the textarea/pre to focus, it doesn't display the text cursor on mouseover and it also doesn't update the caret.

I was able to fix this by adding background-image:tbg.gif where tbg.gif is a 1px transparent image. You still get the transparency, but the textarea reacts normally all over.

Discussion


Log in to post a comment.