Opened 10 years ago

Closed 9 years ago

Last modified 8 years ago

#10383 closed defect (fixed)

Pages stack on top of each other on edit

Reported by: haysmark Owned by:
Priority: high Milestone: 1.7
Component: DojoX Grid Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:

Description

See:

http://archive.dojotoolkit.org/nightly/checkout/dojox/grid/tests/test_data_grid_edit.html

Scroll to the very bottom and edit the right column of Brazil. Several of the countries that were at the top of the view disappear. This happens on all browsers and has been an issue since Dojo 1.2.

In fact _Scroller tells the pages to appear on top of each other:

  1. updatePageHeight realizes that page 1's height has changed and that the scroller's height needs to be enlarged by 2 px or so. It calls updateContentHeight to do this.
  2. updateContentHeight adjusts the scroller's size and calls resize.
  3. resize checks to see if this.page, the "current page", (which is page 0?!) is loaded with a needPage call and tells it to move to the pageTop (which is page 1's top?!).
  4. As a result, page 0 appears behind page 1.

So this.page and this.pageTop are out of sync in this particular case.

Change History (4)

comment:1 Changed 10 years ago by Nathan Toone

Milestone: tbd1.5

comment:2 Changed 9 years ago by Nathan Toone

Milestone: 1.5future
Owner: Nathan Toone deleted

Moving my tickets to future, as I am not currently working on them.

comment:3 Changed 9 years ago by haysmark

Resolution: fixed
Status: newclosed

Fixed in [22903].

comment:4 Changed 8 years ago by bill

Milestone: future1.7
Note: See TracTickets for help on using tickets.