I am experiencing an odd issue and am wondering if it's a bug in the rendering engines - it occurs in WebKit and also Firefox that I've tested.
If you have a div
that's fixed on the page and you add another div
inside it and also set it to be fixed (to obtain a fixed header within a fixed popup), you can ensure that the header will remain visible even when the user scrolls the popup. Unless you set transform
scale
on the popup - doing that will break position:fixed
and cause it to no longer fix to the top of the parent div
and instead it will scroll along with the content. Is that expected behavior - how can I work around that?