Skip to content

Conversation

pksjce
Copy link
Contributor

@pksjce pksjce commented Oct 10, 2025

Closes ##4938

Changelog

The fix is to have an element inside the Overlay that has overflow and max-height set to it.
This kind of works here. Not sure if there is a better way.
Screenshot 2025-10-10 at 10 35 43 pm

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Testing & Reviewing

Merge checklist

Copy link

changeset-bot bot commented Oct 10, 2025

🦋 Changeset detected

Latest commit: 5769bb8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@primer/react Patch
@primer/styled-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

Uh oh! @pksjce, at least one image you shared is missing helpful alt text. Check your pull request body to fix the following violations:

  • Images should have meaningful alternative text (alt text) at line 11

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.

🤖 Beep boop! This comment was added automatically by github/accessibility-alt-text-bot.

@github-actions github-actions bot added the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Oct 10, 2025
Copy link
Contributor

👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks!

@github-actions github-actions bot requested a deployment to storybook-preview-6978 October 10, 2025 11:43 Abandoned
@github-actions github-actions bot temporarily deployed to storybook-preview-6978 October 10, 2025 11:52 Inactive
@pksjce pksjce marked this pull request as ready for review October 14, 2025 03:44
@pksjce pksjce requested a review from a team as a code owner October 14, 2025 03:44
@pksjce pksjce requested review from Copilot and siddharthkp October 14, 2025 03:44
Copilot

This comment was marked as spam.

@github-actions github-actions bot temporarily deployed to storybook-preview-6978 October 14, 2025 03:53 Inactive
@github-actions github-actions bot added integration-tests: failing Changes in this PR cause breaking changes in gh/gh and removed integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Oct 14, 2025
@pksjce
Copy link
Contributor Author

pksjce commented Oct 14, 2025

With the same fix on copilot chat, it looks like this

Before

Screen.Recording.2025-10-14.at.3.01.30.pm.mov

After

Screen.Recording.2025-10-14.at.3.02.03.pm.mov

@primer-integration
Copy link

🔴 ci completed with status failure.

ref={containerRef}
className={styles.ActionMenuContainer}
data-variant={responsiveVariant}
{...(overlayProps.overflow ? {[`data-overflow-${overlayProps.overflow}`]: ''} : {})}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want a default value or not?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure :( Don't want to add unnecessary hidden. I just want it to reflect its parent.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valid, what's the default right now? Maybe we should keep that (is it auto?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It came with no value(maybe default is visible from docs). And I add it only if parent has some value.

@pksjce
Copy link
Contributor Author

pksjce commented Oct 15, 2025

The integration PR seems to have conflicts even though I rebuilt this PR and it is up to date. I'll create one manually.

@siddharthkp
Copy link
Member

👋 @pksjce Let me know whenever you'd like a review on this again

@primer-integration
Copy link

👋 Hi from github/github-ui! Your integration PR is ready: https://github.com/github/github-ui/pull/4919

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: failing Changes in this PR cause breaking changes in gh/gh

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants