swooningfish / jscrollpane

Automatically exported from code.google.com/p/jscrollpane
0 stars 0 forks source link

FF3 choppy scrolling #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?

Expect smooth scrolling. (preference 'smooth scrolling' doesn't effect
this) Scrolling is very choppy and slow to respond.

What version of the jScrollPane are you using? On what browser? And
operating system?

not sure, most recent though
FF 3.0.6
OSX 10.5.6

Please provide a URL to a page displaying the problem.

http://dev2.samatamason.com/scrolljs/jscrollpane.html

Please provide any additional information below.

I am displaying identical divs, except the top one has the .jScrollPane()
applied to it. In FireFox the scrolling is really choppy. It is definitely
the length of content that is causing the slowness. Works great in IE and
Safari.

Original issue reported on code.google.com by andrewgtibbetts on 5 Feb 2009 at 4:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi,

Thanks for the report. I can confirm that I am seeing the same issue as you in
Firefox and that it works great in Opera as well as the others... So it is 
looking
like a Firefox bug when dealing with large hidden areas...

I will try and do some tests and see if it could be caused by a rounding issue
somewhere in my code but like I say, I suspect a Firefox bug...

I guess the only workaround would be to find a way to put less content into your
scrollpane... Could you add pagination or something?

Cheers,

Kelvin :)

Original comment by kelvin.l...@gmail.com on 8 Feb 2009 at 5:51

GoogleCodeExporter commented 9 years ago
I don't think it's a Firefox bug (cop-out, you should be ashamed!).

I just wanted to add that I noticed the same thing happening after I made the
following js lib upgrades:
    jquery-1.2.6.js > jquery-1.3.1.js (most recent release)
    jScrollPane-1.2.2.js > jScrollPanePane-1.2.3.js

Reverting back to jquery 1.2.6 fixed the issue, but I'm not sure about versions
between 1.2.6 and the latest.

Hopefully that gets you on the track. Otherwise, thanks for this plugin, it's 
pretty rad!

Original comment by laurenmj...@gmail.com on 18 Feb 2009 at 8:33

GoogleCodeExporter commented 9 years ago
So it works fine with jQuery 1.2.6 but not with 1.3.1? How about with the newly
released 1.3.3? It would be great if you can provide an two example pages - one
showing the problem with the latest release of jQuery and one showing no 
problem with
jQuery 1.2.6. Then I can present the issue to the jQuery team and see what 
change in
jQuery might be causing the problems...

Thanks,

Kelvin :)

Original comment by kelvin.l...@gmail.com on 21 Feb 2009 at 8:43

GoogleCodeExporter commented 9 years ago
I've posted an example at http://dev.charmcitycoders.com/jscrollpane/

When I stripped the scrollpane out of my project for this example, it was a lot
harder to re-produce.

It seems the issue is coming from having several divs wrapped around the 
jscrollpane
container.

The example has two iframes, each with identical source code, aside from the 
fact
that one is using jquery 1.2.6 and the other 1.3.2. I did this so they could be
viewed side by side.

You can of course navigate to them separately by going to
    1.2.6 - http://dev.charmcitycoders.com/jscrollpane/jscroll-jquery-1.2.6.html
    1.3.2 - http://dev.charmcitycoders.com/jscrollpane/jscroll-jquery-1.3.2.html 

I haven't attempted to trace the JavaScript rendering yet, on to that next.

Cheers!
L

Original comment by laurenmj...@gmail.com on 26 Feb 2009 at 9:35

GoogleCodeExporter commented 9 years ago
Hi L,

Thanks for the test case - exactly what I needed (and a nice skin for the 
scrollbar
as well :) )... Unfortunately I'm not seeing the choppy scrolling on either of 
the
examples (FF3.0.6 on Windows XP). What version of FF are you using? On what OS? 
If I
can reproduce it then I will definitely take it to the jQuery team as a 
regression...

Thanks again,

Kelvin :)

Original comment by kelvin.l...@gmail.com on 27 Feb 2009 at 5:20

GoogleCodeExporter commented 9 years ago
Hi Kelvin,

Thanks for the nice comments!

I am running on Vista Enterprise.
However, I also just tested on a VM running Win Server 2003 SP2 and am NOT 
seeing the
issue there.

Where were you running the previous fellow's example where you DID see the 
issue?

I wonder if there is some other kind of markup or even CSS that is getting in 
the way...

I'll continue to try to reproduce it on different OSs in the mean time.

Thanks for your response; I see that you have a lot of minor issues and seem to
address every one of them. Also thanks again for this plugin =)

Cheers,
Lauren

Original comment by laurenmj...@gmail.com on 27 Feb 2009 at 2:07

GoogleCodeExporter commented 9 years ago
Forgot to mention I'm also using FF 3.0.6

Original comment by laurenmj...@gmail.com on 27 Feb 2009 at 5:05

GoogleCodeExporter commented 9 years ago
Hi,

The example at the top of this page from the first guy does behave weirdly for 
me in
FF3.0.6 on XP... In fact, it can even totally freeze my browser after a 
while... But
I'm not sure it's related to the scrollpane - it seems to freeze my browser 
even if I
don't start scrolling and instead just look around a little in Firebug.

Hmmm! Maybe that's the problem. Do you think the issue could be related to 
Firebug?
And the recent update to Firebug may be why you are finding it harder to 
reproduce
the problem recently? Or is the problem still just as noticable in your original
page? Does disabling Firebug make any difference? Do you even have Firebug 
installed?

Thanks,

Kelvin :)

Original comment by kelvin.l...@gmail.com on 27 Feb 2009 at 5:41

GoogleCodeExporter commented 9 years ago
I do have Firebug(1.3.3) installed... Disabling it stopped the issue in my 
project,
imagine that!

I tried to run the first dude's example again with it disabled, but still the 
same
issue. My scrollpane area is fairly short in height though (only twice the size 
of
the viewable area), so... holy crap I think you've been right all along.

Copied the content from the first reported issue into my example, and it's 
choppy for
both jquery1.2.6 and 1.3.2. And then I realize, of course it's slow, it's 
attempting
to scroll through 2500+ lines of code. Pretty hefty.

Sorry I called your browser issue answer a cop-out ;). Still begs the question, 
why
doesn't IE, etc, seem to mind the large content? Win some lose some I suppose. 

Original comment by laurenmj...@gmail.com on 27 Feb 2009 at 6:30

GoogleCodeExporter commented 9 years ago
Any news about this issue?

Thanks in advance.

Original comment by drsirius@gmail.com on 24 Sep 2009 at 3:48

GoogleCodeExporter commented 9 years ago
Yeah, I've run into this problem too.

The news is Firefox sucks and should die already.

Original comment by ajb.vi...@gmail.com on 7 May 2010 at 6:40

GoogleCodeExporter commented 9 years ago
I have just announced the beta of a completely rewritten version of jScrollPane:

http://groups.google.com/group/jscrollpane/browse_thread/thread/c1bc1bf63e3f80d8

Please test and reply on the list if you are still having this issue,

Thanks,

Kelvin

Original comment by kelvin.l...@gmail.com on 17 Aug 2010 at 4:00