Skip to content

window.addEventListener("orientationchange", function (e) {}) #31

Description

Olá,
peguei o código, instalei em um samsung s3, porém na alteração de orientação, ficou cortado não voltando ao normal do "portrait",

eu só consegui resolver alterando essa funcionalidade para:
window.addEventListener("resize", function (e) {
//scroll - CSS CALC() NOT WORKS IN ANDROID < 4.3 AND IOS 6.0 <
$("#scroll").height(window.innerHeight - FG.$headerApp.height());
}, false);

a dúvida é fica correto? tem outra solução?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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