Opened 7 years ago

Closed 7 years ago

#16101 closed defect (worksforme)

dojox.mobile startup sequence display error

Reported by: XorfacX Owned by: haysmark
Priority: undecided Milestone: tbd
Component: DojoX Mobile Version: 1.8.0
Keywords: Cc:
Blocked By: Blocking:

Description

Hi,

I'm using dojox.mobile 1.8.0 and i encounter a bug with the startup sequence when using two ScrollableView? with both having a fixed Heading.

In the first view the content is displayed as expected, below the heading bar. But when transition occurred from the first to the second view, the content from the second view is masked by the heading.

Plz see the code here: http://jsfiddle.net/XorfacX/R47TA/


Thanks for your hard work by the way ;)

Change History (2)

comment:1 Changed 7 years ago by haysmark

Owner: changed from Eric Durocher to haysmark
Status: newassigned

comment:2 Changed 7 years ago by haysmark

Resolution: worksforme
Status: assignedclosed

Your code was out of order. You should add the fixed bar before you call startup, like so:

//Main view
    viewMain = new dojox.mobile.ScrollableView(null, "viewMain");
	var headingPane2 = new dojox.mobile.Heading({
        label: "viewMain",
        fixed: "top"
    });
    viewMain.addFixedBar(headingPane2);
    viewMain.startup(); /**BUG: THE TEXT IS DISPLAYED UNDER THE HEADING **/
Note: See TracTickets for help on using tickets.