Closed Bug 349238 Opened 18 years ago Closed 18 years ago

overflow usage in DIV causes cursor in textarea to disappear.

Categories

(Firefox :: General, defect)

defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 167801

People

(Reporter: scott.simpson, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5

When a div uses the overflow: auto or scroll property and is initially hidden, it causes the cursor to not appear, even when the text area is in focus.  

Reproducible: Always

Steps to Reproduce:
1. load page.

Actual Results:  
the cursor doesn't appear in the textarea

Expected Results:  
the cursor should appear within the textarea when clicked in.

use this code to illustrate the sampe: 

<html>
<body>
<div style="position: absolute; top: 10px; left: 10px; background: #fff; border:1px solid red; font-family: Courier New; font-size:13px; height: 100px; width:120px; overflow: auto; padding:5px; visibility: hidden;">
    abcdefghijklm<br/>
    nopqrstuvwxyz
</div>
<textarea>This is a Text Area the cursor won't show up in</textarea>
</body>
</html>

*** This bug has been marked as a duplicate of 167801 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.