Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Fixed toolbars move up page after removing list items from list view #2008

@pyrzak

Description

@pyrzak

to reproduce this problem go to:
http://jquerymobile.com/demos/1.0b1/#/demos/1.0b1/docs/toolbars/bars-fixed.html

in chrome's console run:
$($(".ui-page-active .content-primary ul li")[0]).detach();

notice how the fixed footer moves up the page each time the list is deleted.

using $(".ui-page-active .content-primary ul").listview("refresh"); does not update the footer

Looking at the documentation there doesn't appear to be a way to update the footer programmatically, however, scrolling the page fixes the problem.

Ideally listview("refersh") would update the header/footer locations if that is needed. Any workarounds would be very appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions