Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#7383 closed defect (fixed)

Textarea: Enter does not add newline in some cases.

Reported by: dante Owned by: Douglas Hays
Priority: high Milestone: 1.3
Component: Dijit - Form Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:

Description

Not sure how or why this is happening, but I've reduced it to a small testcase showing the issue. A !dijit.form.Textarea in a list does not allow you to hit enter to create a newline. I've tried variations of styling the dd, the widget, etc, to no avail.

Attachments (1)

textarea.html (1.4 KB) - added by dante 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by dante

Attachment: textarea.html added

comment:1 Changed 11 years ago by dylan

Milestone: tbd1.2
Owner: set to alex

comment:2 Changed 11 years ago by bill

Milestone: 1.2future
Owner: changed from alex to Douglas Hays

Alex should be focused on Editor for 1.2.

Not sure if this is a simple fix or not. Seems like a browser bug. Eventually we'll probably change TextArea to use a <textarea> node, at which point this issue will go away. Deferring until then.

comment:3 Changed 11 years ago by bill

Milestone: future1.3

Presumably this will be fixed by the refactor.

comment:4 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [16090]) Fixes #2178, #4988, #7383, #8063, #8211, #8222, #8274, #8276. References #7740. Refactor the Textarea widget to use a native TEXTAREA element. IE8 beta 2 in strict mode will not auto-resize.

comment:5 Changed 8 years ago by bill

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