Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#6360 closed defect (wontfix)

Textarea rendering problem within a dialog

Reported by: jackett_dad@… Owned by: Douglas Hays
Priority: high Milestone:
Component: Dijit - Form Version: 1.0
Keywords: textarea dialog Cc:
Blocked By: Blocking:

Description

There is some history to this ticket already in ticket 5483. Here I have provided a small sample that shows a simple page that displays a text area that renders and is constrained within a layout region. A button will bring up a dialog that shows a text area with the same settings but contains a double scroll bar.

I tried to, within this dialog, put the text area within a table, the code of which I commented out. With the table in place, the text area in the dialog is completely inaccessible.

I need for this textarea to behave like the one in the main page. It needs to size like the first one, but the dialog textarea is scrunched vertically. I also need it to be constrained by the layout container, but I can't tell if that is working because of the fact that it isn't rendering at all if it is within a table.

Attachments (2)

textareaissue_small.html (3.1 KB) - added by guest 11 years ago.
textareaissue_small.2.html (3.0 KB) - added by guest 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by guest

Attachment: textareaissue_small.html added

Changed 11 years ago by guest

Attachment: textareaissue_small.2.html added

comment:1 Changed 11 years ago by guest

Sorry, I tried to replace the attachment. In the second version I applied the style display:block to the dialog text area which handles the constraint within the layout container (a step on my part that should be unnecessary, and thus my original and valid report).

comment:2 Changed 11 years ago by Adam Peller

Component: GeneralDijit
Owner: changed from anonymous to Douglas Hays
Reporter: changed from guest to jackett_dad@…
Summary: Textarea in a DialogTextarea rendering problem within a dialog

comment:3 Changed 11 years ago by guest

This doesn't solve the issue per se, but it gets me around to where I am no longer concerned with this as a bug.

The solution for me, thanks to Bill's help, was to copy SimpleTextarea? from 1.1 and rename _FormValueWidget to _FormWidget. Then I had to create the control implicitly instead of programatically, which is only a small inconvenience. The control fills the area it is contained in instead of honoring the cols and rows setting, but again, very small inconvenience. It works and I can use it.

Thanks.

comment:4 Changed 11 years ago by bill

Resolution: wontfix
Status: newclosed

Closing this ticket for now since user found a workaround... seems like there might still be a bug with creating widgets dynamically that are inside of BorderContainer? (indirectly via a ContentPane?) but it's a rather unusual case, so let's see if it's an issue for others.

comment:5 Changed 8 years ago by bill

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