Opened 13 years ago

Closed 13 years ago

#1481 closed defect (worksforme)

background for dialog is not display properly

Reported by: Marcin Soltysiuk Owned by: bill
Priority: high Milestone:
Component: Widgets Version: 0.4
Keywords: dialog Cc:
Blocked By: Blocking:

Description

Background cover all page for dialog is not set properly when we have right scroll bar on page. All time background is set at position left = right = 0px, example http://archive.dojotoolkit.org/nightly/tests/widget/test_Dialog.html.

Solution for this is set in Dialog.js showBackground: function() {

if(this.bgOpacity > 0) {

var scroll_offset = dojo.html.getScroll().offset;

this.shared.bg.style.top = scroll_offset.y + "px"; this.shared.bg.style.left = scroll_offset.x + "px"; this.shared.bg.style.display = "block";

}

},

Change History (1)

comment:1 Changed 13 years ago by tk

Resolution: worksforme
Status: newclosed

Tested against nightly, this bug appears to be not be a bug. No dialog problems exhibited in IE or FF on windows.

contact ktiedt at gmail dot com, if you can provide more details or reproduce this problem at the above link.

Note: See TracTickets for help on using tickets.