Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#17625 closed defect (invalid)

programmatic dojox/mobile/ScrollablePane does not scroll

Reported by: Rophy Tsai Owned by: Adrian Vasiliu
Priority: undecided Milestone: tbd
Component: DojoX Mobile Version: 1.9.1
Keywords: Cc:
Blocked By: Blocking:

Description

please check the attached example, which is_ScrollablePane.html modified to be programmatic, the content does show up but is not scrollable.

Attachments (1)

test_ScrollablePane-Scripted.html (1.5 KB) - added by Rophy Tsai 5 years ago.
example programmatic ScrollablePane?

Download all attachments as: .zip

Change History (8)

Changed 5 years ago by Rophy Tsai

example programmatic ScrollablePane?

comment:1 Changed 5 years ago by Rophy Tsai

please change the title to "dojox.mobile.ScrollablePane?"

comment:2 Changed 5 years ago by Adrian Vasiliu

Summary: programmatic dojox.mobile.Scrollable does not scrollprogrammatic dojox/mobile/ScrollablePane does not scroll

comment:3 Changed 5 years ago by Adrian Vasiliu

After creating the widget programatically, you need to call its startup() method. Just adding pane.startup(); after var pane = new ScrollablePane?(...); makes your test case work fine. Hence I'm closing the ticket.

comment:4 Changed 5 years ago by Adrian Vasiliu

Owner: set to Adrian Vasiliu
Status: newassigned

comment:5 Changed 5 years ago by Adrian Vasiliu

Resolution: invalid
Status: assignedclosed

comment:6 Changed 5 years ago by Adrian Vasiliu

Note also that your line dojo.ready(function() { should be: ready(function() {

comment:7 Changed 5 years ago by Rophy Tsai

Thank you very much. It would be very helpful if these are documented as programmatic example in http://dojotoolkit.org/reference-guide/1.9/dojox/mobile/ScrollablePane.html

Note: See TracTickets for help on using tickets.