PDA

View Full Version : Basic Dialog Mozilla issue


copongcopong
04-23-2007, 06:18 AM
Anyone experiencing problem with autoScroll: true for the Basic Dailog Box in Mozilla? The overflow:auto appears to be having some problems with mozilla (test using Camino and Firefox). The side scroll bar disappears from time to time. Hovering the pointer will also make the side scroll bar disappear.

The option left for me is to do: dialog.body.setStyle('overflow', 'scroll'); for Mozilla, which makes the beautiful dialog box ugly!

This issue appears to be a problem with Mozilla's css for overlow:auto.

copongcopong
04-23-2007, 06:36 AM
Here is a temporary fix:

=========
/* recalculation of dimensions can be added here */
dialog.body.setStyle('overflow','scroll');
dialog.show();

setTimeout(function(){
dialog.body.setStyle('overflow','auto');
}, 10);
==========

i was able to accomplish this when I played with firebug and manually change the overflow from auto to scroll to auto in the style attribute.