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.

Pagecontainer: Viewport's height  #7842

Closed
@Palestinian

Description

@Palestinian

Changing Pagecontainer to a different wrapper other than body causes page to scroll. This is caused by .ui-mobile body { height: 99.9%; }, since body receives correct height of viewport but not the new Pagecontainer.

The fix is .ui-mobile body { height: auto; } and .new-pagecontainer { height: 99.9%; }

In master CSS, body should be replaced with .ui-mobile-viewport.

.ui-mobile .ui-mobile-viewport {
   height: 99.9%;
}

Demo jQM 1.4.5
PR to fix this issue

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