mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
On iPad Chrome and Safari (both WebKit) the opened card's top row - the collapse caret, the card number, the menu, maximize and X - was behind the header bar, although the card has z-index 2001 and the header 1000. iOS WebKit makes every scrolling element (#content, the board wrapper) a stacking context of its own, so the card's z-index is compared only inside it while the header bar, a flex item of body and a stacking context too, is painted over all of it. While a card is open the header bar (#header-quick-access) is now at z-index 0, the level of the content, which comes after it in the page and so paints over it; with no card open it keeps 1000. A browser spec makes #content and the board wrapper stacking contexts with isolation: isolate, which is the same trap, and shows the card over the header open and collapsed, its close button reachable, in Chromium and WebKit; without the rule it fails with the card's top at 8 behind a header 88 high, as in the screenshot. Thanks to xet7 !