Opened 12 years ago

Closed 12 years ago

#11394 closed defect (invalid)

InlineEditBox bug onhide

Reported by: zladivliba Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.5.0b2
Keywords: inlineEditBox Cc:
Blocked By: Blocking:


There's a bug with the inlineEditBox when using it on a div that's hidden with css (that has display:none defined on css). Using this.TaskDetails?.style.display = "block"; after on the code, will show nothing.

Here's my code :

<div class="TaskContent?" TaskId?="${TaskId?}">

<div class="TaskAction?" dojoType="dijit.InlineEditBox?" editor="dijit.form.Textarea" dojoAttachEvent="onChange:changeTxt" dojoAttachPoint="InlineAction?">${Action}</div> <div class="TaskDetails?" dojoType="dijit.InlineEditBox?" editor="dijit.form.Textarea" dojoAttachPoint="TaskDetails?" >${ActionDetails?}</div>


And here's the css :

.TaskDetails? {float:left; width:100%; border: 0px solid #ccc; font-size:11px; color:#555; display:none;}

Now if I use this.TaskDetails?.style.display = "block"; after the inlineEditBox is define nothing gets shown

Change History (2)

comment:1 Changed 12 years ago by bill

Please attach an HTML file test case using the attach file button.

Also, if the <div> is hidden how can the user access the InlineEditBox?

comment:2 Changed 12 years ago by bill

Resolution: invalid
Status: newclosed

Closing for lack of test case and confusing description.

Note: See TracTickets for help on using tickets.