:: Forum >>

Page scrolls to top when I scroll in grid - Firefox only

Hi,
I've created a demo using the grid package that provides the user with a large form with many options which specify what is to be displayed in the grid below.
This works fine, however when I scroll within the grid at the bottom after it is generated, the page immediately snaps to the top, hiding the grid from view.
It works perfectly in IE however.
Thanks in advance,
Fionn.
Fionn
Wednesday, October 11, 2006
Forgot to add, horizontal scrolling in the grid doesnt cause any problems, only vertical scrolling. If i click on the up or down arrows on the grid control and hold them down, the grid scrolls fine until I release the button and then the page snaps to the top.
Fionn
Wednesday, October 11, 2006
Anyone else experiencing this problem?
Fionn
Thursday, October 12, 2006
This is a bug in 2.0.1. It can be fixed with the following CSS -

.aw-gecko .aw-grid-focus {
    position: relative;
}
Alex (ActiveWidgets)
Friday, October 13, 2006
hi,
i'm having the same prob, did the above solution fix the prob ??.
i added
.aw-gecko .aw-grid-focus {
position: relative;
}
to the css but the prob is still there. PLZ help. Thanx in andvance.


Robin
Thursday, November 2, 2006
I had the same issues...you might want to look at.
I never got any feedback if what I did to fix it for me was correct, etc. but Alex did mention if you setVirtualMode(false) that it's not an issue. Just fyi.
http://www.activewidgets.com/javascript.forum.16064.7/scrolling-in-grid-in-firefox.html
Maggie M
Wednesday, December 6, 2006
I have the similar problem. Adding CSS didn't help.

I noticed one thing - the scrolling only happens when width is set to 100%. When it is a number, it scrolls fine.

obj.setStyle('width', '900'); // this works
// obj.setStyle('width', '100%'); // this doesn't work
Roman
Wednesday, December 20, 2006

This topic is archived.


Back to support forum

Forum search