Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Overflow hidden don't prevent scrolling on IOS if you use Position Fixed. SlidingPanel and Modal affected #357

Open
leandrooriente opened this issue Mar 14, 2018 · 0 comments
Labels

Comments

@leandrooriente
Copy link
Contributor

Browsers and versions affected

IOS

Description

Overflow hidden don't prevent scrolling on IOS if you use Position Fixed. SlidingPanel and Modal affected.

If you add overflow hidden to body element and add a Fixed element on it, it will not prevent the body to scroll.

Steps to reproduce

Open a modal or slidingPanel on IOS and try to scroll, the body will scroll together.

Expected results

Body should stay at the same position if we scroll a fixed element on it.

External references

Could be a solution
https://github.com/willmcpo/body-scroll-lock

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

No branches or pull requests

1 participant