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?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Sigma Php Ajax framework, Ajax Components, GUI Builder
>
Sigma Visual GUI Builder & Library
>
Sigma Visual - Q&A
(Moderators:
steven
,
linb
) >
Scrollbar vanishes after Dialog Box displayed!
Pages: [
1
]
« previous
next »
Print
Author
Topic: Scrollbar vanishes after Dialog Box displayed! (Read 1027 times)
mywebwork
Jr. Member
Posts: 15
Scrollbar vanishes after Dialog Box displayed!
«
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
Re: Scrollbar vanishes after Dialog Box displayed!
«
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:
linb.UI.Dialog.confirm('confirm','this is an confirm message!');
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
Re: Scrollbar vanishes after Dialog Box displayed!
«
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:
linb('html').removeClass('linb-viewport'); linb('body').get(0).scroll='';
Logged
mywebwork
Jr. Member
Posts: 15
Re: Scrollbar vanishes after Dialog Box displayed!
«
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
Re: Scrollbar vanishes after Dialog Box displayed!
«
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
Re: Scrollbar vanishes after Dialog Box displayed!
«
Reply #5 on:
November 27, 2009, 08:08:24 PM »
update code from svn agian please!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News & Announcements
-----------------------------
Sigma Visual GUI Builder & Library
-----------------------------
=> Sigma Visual - Knowledge Share
=> Sigma Visual - Q&A
=> Bug Report & Wishlist
-----------------------------
Sigma Grid
-----------------------------
=> Sigma Grid - Q&A
=> Show Case
=> Bug Report & Wishlist
-----------------------------
Other
-----------------------------
=> AJAX & JavaScript
Loading...