Opened 8 years ago

Closed 8 years ago

#13439 closed defect (fixed)

Fixed bottom header moves away if a new view is created with ListItem#url

Reported by: ykami Owned by: ykami
Priority: high Milestone: 1.7
Component: DojoX Mobile Version: 1.7.0b1
Keywords: 1.7-mobile Cc:
Blocked By: Blocking:

Description

Assume that the current page is as follows:

<div id="view1" dojoType="ScrollableView">
    ....
    <li dojoType="ListItem" url="view2.html">
    ....
</div>
<h1 dojoType="Heading" fixed="bottom">Application Footer Bar</h1>

If you select the list item, view2.html is loaded and a new view is created as follows.

<div id="view1" dojoType="ScrollableView">
    ....
    <li dojoType="ListItem" url="view2.html">
    ....
</div>
<h1 dojoType="Heading" fixed="bottom">Application Footer Bar</h1>
<div id="view2" dojoType="ScrollableView">
    ....
</div>

The fixed bottom header goes away from the bottom. The new view must be inserted before the fixed bottom header.

Change History (1)

comment:1 Changed 8 years ago by ykami

Resolution: fixed
Status: newclosed

(In [25778]) Fixes #13439 !strict. _parse searches for a fixed bottom bar. If found, insert a new view before it.

Note: See TracTickets for help on using tickets.