Sigma Php Ajax framework, Ajax Components, GUI Builder
February 12, 2012, 12:24:02 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Scrollbar vanishes after Dialog Box displayed!  (Read 1027 times)
mywebwork
Jr. Member
**
Posts: 15


View Profile
« on: November 26, 2009, 07:43:03 PM »

Hi

Just noticed something strange. 

I have a project with a very tall screen, when it is displayed the browser shows a vertical scrollbar. In my project I use a confirm dialog (i.e.linb.UI.Dialog.confirm ).

As soon as the confirm dialog is displayed the scrollbar disappears!

I have tried this on Chrome, IE 8 and Firefox - same effect.

How do I get this to stop happening?  Right now the only way to get the scrollbar back is to refresh the screen.

Thanks

Bill
Logged
mywebwork
Jr. Member
**
Posts: 15


View Profile
« Reply #1 on: November 26, 2009, 10:13:52 PM »

As a test I created a new project with just a button and a timepicker control - I placed the timepicker at the bottom of the interface to force the application to display a vertical scrollbar.

In the onClick event of the button I placed the following code:



When I ran the application I experienced the same effect I reported in my original post - the pages scrollbar vanishes as soon as the dialog box displays.

Tried with the latest version from the SVN and had the same results.

Any magical solutions?  I really don't want to have to redesign to eliminate dialog boxes!

Thanks

Bill
Logged
linb
Administrator
Hero Member
*****
Posts: 433


View Profile
« Reply #2 on: November 27, 2009, 01:38:38 AM »

It's a bug.
You can get the latest code from svn:

or,

uset the following code after you close the dialog:
Logged
mywebwork
Jr. Member
**
Posts: 15


View Profile
« Reply #3 on: November 27, 2009, 12:47:54 PM »

linb thank you once again!  Newest code in SVN fixes the problem.

One minor issue is that now the dialog box has scrollbars even though they are not needed. Is there a way to remove these?

Thanks for all your help.

Bill
Logged
mywebwork
Jr. Member
**
Posts: 15


View Profile
« Reply #4 on: November 27, 2009, 07:36:58 PM »

An update - I now realize that (A) the scrollbars are on all dialog boxes, not just confirm and (B) it only happens with the Webkit browsers (i.e. Chrome & Safari).

I had noticed before that Chrome & Safari both insert scrollbars around Groups if you bring them too close to the edge of the canvas - if you back off a bit they are fine.  This is actually why I use Chrome to design with the GUI Builder.

Is there something I can change that can fix this with the dialog boxes? The older version didn't experience this effect.

Thanks again for any and all assistance!

Bill
Logged
linb
Administrator
Hero Member
*****
Posts: 433


View Profile
« Reply #5 on: November 27, 2009, 08:08:24 PM »

update code from svn agian please!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!