Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#17028 closed defect (fixed)

dojox/mobile/scrollable ignores constraint == false when content is smaller than container

Reported by: Eric Durocher Owned by: Eric Durocher
Priority: undecided Milestone: 1.9
Component: DojoX Mobile Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:


When the content is smaller than the scrollable, the value of "constraint" is ignored - thus, the scrollable always returns to the "zero" point when scrolled.

Can be reproduced by modifying dojox/mobile/tests/test_ScrollableView-demo.html, adding


on the first ScrollableView. Run this in a desktop browser. When the window is smaller than the list, scroll is not constrained, whereas if the window if higher than the list, it bounces back to the top, which is not consistent.

Change History (2)

comment:1 Changed 9 years ago by Eric Durocher

Resolution: fixed
Status: newclosed

In [31246]:

fixes #17028. Take the constraint attribute into account when content is smaller than viewport. Patch by Nick Maynard (IBM, CCLA). !strict

comment:2 Changed 9 years ago by bill

Milestone: tbd1.9
Note: See TracTickets for help on using tickets.