orbit icon indicating copy to clipboard operation
orbit copied to clipboard

Slow in Firefox

Open vburgett opened this issue 13 years ago • 6 comments

I'm having an issue with each slide advancing very slowly in Firefox 6.0. It works fine in Safari. I stripped down the code so that the #featured div was not within any other divs and it fixed the problem in Firefox. Any ideas on what this is an indication of? I can't find where I would need to make the adjustment knowing this somehow fixes the problem.

vburgett avatar Sep 12 '11 16:09 vburgett

Looks like it could have something to do with the float attributes that are assigned to the divs that enclose the #feature div.

vburgett avatar Sep 12 '11 21:09 vburgett

The same issue in Firefox 6.0.2 Ubuntu Linux, advanceSpeed:1700 takes about 20 seconds to get to the next slide, and appears to be close to hanging the browser.

aaronfay avatar Sep 28 '11 15:09 aaronfay

Confirmed on FF 8.0. Introducing Orbit to an existing page also made the other animated elements on that page slow down. Adding display: none; on the timer element seemed to improve it slightly. Removing the other animated elements also improved it a bit. Doing both of the above together brought about a major improvement, though still not the speed stated in advanceSpeed.

relgit avatar Dec 02 '11 13:12 relgit

After digging a little further the bottleneck in FF seems to be the timer.is(':hidden') command in the Orbit code. It runs on every iteration even if the timer is hidden (This is what checks if it is so). It's more of a jQuery slowdown, though I don't think that the jQuery team intended this command to be run in sequence.

relgit avatar Dec 02 '11 14:12 relgit

Just ran into the same issue. Anyone found any good solution for this?

xavio avatar Feb 21 '12 14:02 xavio

Created an issue for this in the Foundation repository: https://github.com/zurb/foundation/issues/344

mkelly12 avatar Feb 22 '12 18:02 mkelly12