On a SPA for mobile devices and desktop browsers I need to set position: fixed
on <body>
to avoid iOS' overflow/rubberband scrolling.
position: fixed
and modifications on the <body>
are always somewhat hacky and risky to cause problems.
This is why I wanted to clarify:
Are there any known problems / caveats / things to watch out for (i.e. stacking context, z-indexing context, static/relative/absolute/fixed positioning on children) / ... when adding position: fixed
to <body>