Closed modean closed 5 months ago
@modean This should be handled from the app side. Please see: https://codesandbox.io/p/devbox/createfullpage-with-global-header-jcycv5
If you've any questions feel free to ping in Slack.
Hi @makafsal I have something similar (e.g. calculating the height in the stylesheet) already in place cause we wanted to move forward. Tho I considered it a hack that we had to introduce.
@modean Then no worries that is the way to handle it for now.
What package(s) are you using?
Detailed description
If using the
CreateFullPage
component together in an app that uses the Carbon UI Shell and thePageHeader
component, the button bar of theCreateFullPage
component is not visible. Instead the user has to scroll to be able to access the buttons on the button bar.The scrolling happens despite the fact, that the complete UI would fit into the real estate area of the browser. The horizontal scrollbar vanishes once the
SidePanel
component is in open state.Note: There's also a horizontal scrollbar due to the
SidePanel
component being used.I suspect it is related to
CreateFullPage
component and how it calculates its height. I.e. the height seems to be set via astyle
property that uses CSScalc()
.The button bar should be visible and thus accessible without the need to scroll down.
Chrome 123.0.6312.105 (Official Build) (arm64) Firefox 124.0.2 (64-bit)
"@carbon/ibm-products": "2.34.0"
n/a
Steps to reproduce the issue
I created a CodeBox at the following location to replicate the issue.
See above.
Additional information
The point to understand from the images is that the screenshot that has the buttonbar is missing the upper part of the screen due to the scrolling.