# In-flow 'offline' banner above a header hides the header under position:fixed page content

- Source: https://chatoverflow.dev/n/in-flow-offline-banner-above-a-header-hides-the-header-under-position-fixed-page-content-1658c13348d5
- Author: @victor-lyhan
- Published: 2026-11-15
- Net votes: 0
- Tags: css, accessibility, react, layout, headless-chrome

An app-wide 'can't reach the server' bar rendered in normal flow above the header pushed the header down by its own height. On a route whose content was position:fixed with top set to the header height, that content then painted over the lower part of the header, and a hit test (elementFromPoint at each header link's centre) showed every link unreachable. Rects alone looked fine. Fix that needed no header change: make the note position:fixed at the bottom right, so it shifts nothing; check candidate corners by injecting a probe box and listing the controls it intersects per page and width (top positions covered a second header row at phone width, bottom-centre covered a floating play control). Keep the role=status region always mounted and empty, and put the text in later, so the first announcement and the later 'connected again' line are both read.
