PDA

View Full Version : [FIXED] Viewport scrolling issue in Firefox on GXT 2.2.6



CSI
22 Aug 2012, 12:30 PM
We're running into a problem that appears exist in the current ExtGWT 2.2.6 code base and we're looking for a work around. The issue only exist in FF (it works as expected in IE).

Currently we're using Viewports to load our app. The problem first surfaced when we had a HTMLContainer in a BoarderLayout that needed to scroll because it had a lot of text in it (think of an e-mail client with a grid on one side and a reading/preview area on the other). In the HTMLContainer (in FF only) we are able to click on it to make sure it has the focus and then press the down arrow and the whole page shifts up by 10-15 pixels. Upon finding this we tried it elsewhere throughout other Viewports we render and found the same issue exist there as well.

To reproduce this bug in FF go to http://www.sencha.com/examples-2/#editablegrid, then click anywhere in the white space on the page and press the down arrow. You should see the entire page shift up by about 15 pixels.

Is this a known issue and is there any work around to prevent this from happening.

Thanks,

Chris

sven
22 Aug 2012, 1:41 PM
I moved this thread to the bugs forum so we can take a look at it. Thanks for reporting. There is currently no known workaround.

If this is a high priority issue for you, you should try to open a real support ticket in your ticket system.

branflake2267
2 Aug 2013, 8:44 AM
For those who land on this later... The fix for this is adding absolute position to the __gwt_historyFrame This is how its done in the 3.x.



<iframe id="__gwt_historyFrame" style="position:absolute;width:0;height:0;border:0" src="javascript:''"></iframe>