Bug Tracker

Ticket #3193 (closed bug: invalid)

Opened 7 years ago

Last modified 5 years ago

Issue using animate

Reported by: Binary Owned by:
Priority: minor Milestone: 1.3
Component: effects Version: 1.2.6
Keywords: animate scrollleft Cc: Binary, flesler
Blocking: Blocked by:


Scenario: creating a horizontally scrolling image area with buttons to do left/right scrolling.

Here's the section of code that does the animation:

if(direction == "left"){

$(scrollerDiv).animate({'scrollLeft': -scrollerWrapperDiv._thumbWidth + 'px' }, 'slow', , _PV_ScrollImageGalleryUpdateScrollButtons);

} else {

$(scrollerDiv).animate({'scrollLeft': scrollerWrapperDiv._thumbWidth + 'px' }, 'medium', , _PV_ScrollImageGalleryUpdateScrollButtons);


If you look at the code, you'll notice that I've had to set the scroll left to 'slow' and the scroll right to 'medium'. This is necessary to make the scrolling work at the same speed! If both calls are set to medium, the left scrolling works faster than the right scrolling.

I'm not sure why this is, but possibly a bug somewhere?

Change History

comment:1 Changed 7 years ago by flesler

  • need changed from Review to Test Case
  • Component changed from core to fx

Probably not. Could you provide a test case ? a minimalistic html file with the requires html and js to reproduce the problem.

comment:2 Changed 7 years ago by flesler

  • Cc Binary, flesler added

comment:3 Changed 5 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

No test case.

Note: See TracTickets for help on using tickets.