-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(header-panel): allow vertical overflow when expanded #17160
fix(header-panel): allow vertical overflow when expanded #17160
Conversation
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
backport to v10 up at #17195 |
1a40999
Excellent, thank you 🙏 |
Closes #17159
When
HeaderPanel
is expanded, the content is not vertically scrollable if there is overflow. See the original bug report for repro steps.The root cause is that the
--header-panel
selector hasoverflow: hidden
for the transition. However, the expanded state should allow vertical scrolling as needed.The proposed fix is to set
overflow-y: auto
on the expanded state to only afford a scrollbar as needed.Note that this fix should ideally be backported to v10.
Before
After
Changelog
Changed
Testing / Reviewing