Skip to content
This repository was archived by the owner on Aug 23, 2020. It is now read-only.
This repository was archived by the owner on Aug 23, 2020. It is now read-only.

"Locking" scroll while preserving scroll location #6

@quoid

Description

@quoid

The Problem:

overflow: hidden does not work on iOS devices at the element level.

Solutions:

  1. Assign overflow: hidden to the html and body class as well.
    Issues: if you overflow: hidden on the body and html element; the moment you trigger those properties/rules, the browser scrolls to the ‘top’.

  2. Using jQuery (unbind - touchmove) - currently in use
    Issues: you can unbind the touch move on the element, but child element can scroll elements behind themselves

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions