Opened 10 years ago

Closed 6 years ago

#8591 closed defect (invalid)

Pager scrolls one pixel more when scrolling to the right side

Reported by: David Leonardi Owned by: David Leonardi
Priority: high Milestone: future
Component: DojoX Widgets Version: 1.2.3
Keywords: pager dojo.pager Cc:
Blocked By: Blocking:

Description

Using pager, when clicking on the right scroll button, the elements get scrolled too far by one pixel. If one scrolls to the left, the bug does not present itself, and actually all elements are positioned correctly once again.

Change History (5)

comment:1 Changed 10 years ago by dante

Milestone: 1.31.4

comment:2 Changed 10 years ago by David Leonardi

To fix issue, with horizontal pager:

change line 424 to:

newPos = (dojo.style(this.pagerContainerView, 'width')+((cnt-1)*marginBox.w))-3;

change line 503 to: newPos = -(j * marginBox.w) ;

vertical mode not tested.

comment:3 Changed 10 years ago by dante

Milestone: 1.4future
Owner: changed from dante to nonken

nonken - can you take a look at this? SethX has a cla, but I still maintain Pager needs some serious reductions. Perhaps dojo.position has fixed this inadvertantly? SethX?

comment:4 Changed 6 years ago by Kitson Kelly

Owner: changed from nonken to David Leonardi
Status: newpending

This widget has been abandoned. If you still want to fix this issue, could you please look at it against trunk. Otherwise this ticket will automatically close.

comment:5 Changed 6 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.