Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#7634 closed defect (fixed)

[regression] TextArea: blank widget has no height, can't focus / type into it.

Reported by: sprink Owned by: Douglas Hays
Priority: high Milestone: 1.2
Component: Dijit - Form Version: 1.2beta
Keywords: FF3, Firefox 3, textarea, dojo.form.textarea, #5233 Cc:
Blocked By: Blocking:

Description

When using the dojoType='dojo.form.Textarea' attribute in a DIV or TEXTAREA element I am unable to type in the widget in FF3 on Mac OS X Leopard.

This bug also causes the textarea to be much shorter than one line of text if no width style is set.

This is a very commonly used widget and I'm surprised that my search only returned this bug in Dojo 1.1.1

I have attached my sample code based on the dojo-release-1.2.0b1 download (the mini version with no compressed files or demos.

Attachments (1)

textarea-bug.htm (1.8 KB) - added by sprink 11 years ago.
Contains a couple of sample fields that do not work in 1.2.0b1 but that do work in 1.1.1.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by sprink

Attachment: textarea-bug.htm added

Contains a couple of sample fields that do not work in 1.2.0b1 but that do work in 1.1.1.

comment:1 Changed 11 years ago by sprink

arg - I meant to say that the line is too short if no height style is set.

comment:2 Changed 11 years ago by bill

Owner: set to Douglas Hays
Summary: dojo.form.Textarea is broken in FF3 again (reference: #5233)[regression] TextArea: blank widget has no height, can't focus / type into it.

I see that in test_Textarea.html too if you delete the text from the red Textarea then it's too short and there's no room to type. Perhaps I broke this in the attr() refactor but Doug can you take a look?

comment:3 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [15203]) Fixes #7634. Added min-height to textarea to give FF3 some advice on how to render.

comment:4 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.