Skip to content
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): v10 backport - allow vertical overflow when expanded #17195

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

tay1orjones
Copy link
Member

Ref #17159
v10 backport of #17160:

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 has overflow: 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

Screenshot 2024-08-13 at 9 15 02 AM ### After Screenshot 2024-08-13 at 9 15 18 AM #### Changelog **Changed**
  • fix(header-panel): allow vertical overflow when expanded

Testing / Reviewing

@Gururajj77 Gururajj77 merged commit b0f127a into carbon-design-system:v10 Aug 20, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants