Skip to content
This repository has been archived by the owner on May 22, 2023. It is now read-only.

implement background scrolling prevention without moving the body #19

Closed
alex3683 opened this issue Mar 22, 2016 · 1 comment
Closed

Comments

@alex3683
Copy link
Member

The current implementation to prevent from scrolling the background sets the body to fixed and translates its position to the current scroll position. This gives the visual effect, that the scroll position is kept as the user left it, but scrolling of the body isn't possible anymore.
One drawback of this approach is that now also all other layers are translated with the body element. Hence, e.g. a message display, that is at the topmost location on the z-axis, is translated out of view and thus isn't visible anymore.
Therefore an alternative approach of background scrolling prevention needs to be implemented.

@alex3683
Copy link
Member Author

Fixed on master (v1.2.0) and release-1.1.x (v1.1.2).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant