diff --git a/core/src/components/header/header.ios.scss b/core/src/components/header/header.ios.scss index 7ed83e39ac..634303ff8e 100644 --- a/core/src/components/header/header.ios.scss +++ b/core/src/components/header/header.ios.scss @@ -130,7 +130,10 @@ * 2. This will only apply when that content has a collapse header (ion-header[collapse="condense"]) * * We use opacity: 0 to avoid a layout shift. + * We target both the attribute and the class in the event that the attribute + * is not reflected on the host in some frameworks. */ -ion-header:not(.header-collapse-main):has(~ ion-content ion-header[collapse="condense"]) { +ion-header:not(.header-collapse-main):has(~ ion-content ion-header[collapse="condense"], +~ ion-content ion-header.header-collapse-condense) { opacity: 0; }