Opened 12 years ago

Closed 12 years ago

#11124 closed defect (invalid)

first image fails to load in dojox.image.LightboxDialog

Reported by: ramunask Owned by: dante
Priority: high Milestone: tbd
Component: General Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:


My code: var lightBoxDialog = new dojox.image.LightboxDialog?().startup(); lightBoxDialog.addImage({title:"title1",href:"..."},"myGroup"); lightBoxDialog.addImage({title:"title2",href:"..."},"myGroup"); ...{title:"title1",href:"...",group:"myGroup"});

In this situation lightbox dialog is shown, first image is loaded but dialog is not being re-sized.

The workaround is to add some timeout before show: var imgToShow = {title:"title1",href:"...",group:"myGroup"}; setTimeout(dojo.hitch(lightBoxDialog,"show",imgToShow ),1);

Change History (2)

comment:1 Changed 12 years ago by Adam Peller

Owner: changed from anonymous to dante

comment:2 Changed 12 years ago by dante

Resolution: invalid
Status: newclosed

so i see this randomly but need a reproducible testcase or steps to repro. hitting 'next' or reloading the box fixes. also could be fixed by something upstream. please reopen if persists.

Note: See TracTickets for help on using tickets.