You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently done an update of our @patternfly/react-core from 4.198.5 -> 4.235.7
This has changed the behaviour of our top PageHeadertopNav navbar in a way I can't quite figure out how to work around. Firstly a video of the existing site
Screencast.from.12-09-22.10.18.16.webm
You can see
The PageHeader has a topNav which remains on a "second" line underneath the existing header at all times. As it gets smaller, it shrinks to have scroll arrows
The logo just keeps getting smaller as this happens
Below is a sample from the site when updated to 4.235.7
Screencast.from.12-09-22.10.31.45.webm
The problems here
The logo is missing? As the page shrinks, about the time we get the three-dot kebab for "Components API" etc. it suddenly reappears.
We don't want the nav bar in the title bar at any point. Eventually it jumps down as the window size shrinks, but we'd like it there always.
From what I can tell, this relates to #6827? I say this because on the "new" site the page div has
whereas it does not have the resize observers on the old site, and I think this change added them.
I guess my main question is how I can keep the topNav separate on all page widths? This may be my misunderstanding of how to use the getBreakpoint function. The secondary question is about why the <PageHeader>logo is disappearing.
I have recently done an update of our
@patternfly/react-corefrom4.198.5->4.235.7This has changed the behaviour of our top
PageHeadertopNavnavbar in a way I can't quite figure out how to work around. Firstly a video of the existing siteScreencast.from.12-09-22.10.18.16.webm
You can see
PageHeaderhas atopNavwhich remains on a "second" line underneath the existing header at all times. As it gets smaller, it shrinks to have scroll arrowsBelow is a sample from the site when updated to
4.235.7Screencast.from.12-09-22.10.31.45.webm
The problems here
From what I can tell, this relates to #6827? I say this because on the "new" site the page div has
<div class="pf-c-page pf-m-resize-observer pf-m-breakpoint-xl pf-m-height-breakpoint-2xl">whereas it does not have the resize observers on the old site, and I think this change added them.
I guess my main question is how I can keep the
topNavseparate on all page widths? This may be my misunderstanding of how to use thegetBreakpointfunction. The secondary question is about why the<PageHeader>logois disappearing.The code that is doing this is all around https://opendev.org/zuul/zuul/src/branch/master/web/src/App.jsx#L444
A live sample of this site is available from our CI
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_bdb/855577/1/check/zuul-build-dashboard-opendev/bdb7872/npm/html/tenants
Click on "builds" for any tenant and it will move to this view with the top nav bar