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(DataTable): add position: relative to scrollable region #4440

Merged
merged 3 commits into from
Mar 26, 2024

Conversation

joshblack
Copy link
Member

Closes https://github.com/github/primer/issues/2865

Update our internal ScrollableRegion component to include position: relative to prevent blowout when an element with position: absolute is included (like with sr-only classes)

Changelog

New

Changed

  • Add position: relative to ScrollableRegion

Removed

Rollout strategy

  • Patch release

Testing & Reviewing

  • Visit the With Row Action Menu story in Storybook
  • Verify that resizing the window that overflow only occurs on the table and not the page

@joshblack joshblack requested a review from jonrohan March 25, 2024 17:46
@joshblack joshblack requested a review from a team as a code owner March 25, 2024 17:46
Copy link

changeset-bot bot commented Mar 25, 2024

🦋 Changeset detected

Latest commit: 4d98876

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

This PR includes changesets to release 1 package
Name Type
@primer/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

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 88.59 KB (-0.04% 🔽)
packages/react/dist/browser.umd.js 88.86 KB (+0.04% 🔺)

@joshblack joshblack added this pull request to the merge queue Mar 26, 2024
Merged via the queue into main with commit 674437d Mar 26, 2024
30 checks passed
@joshblack joshblack deleted the fix/add-position-relative-to-scrollable-region branch March 26, 2024 14:56
@primer primer bot mentioned this pull request Mar 26, 2024
lukasoppermann pushed a commit that referenced this pull request Apr 16, 2024
* fix(DataTable): add position: relative to scrollable region

* chore: add changeset

---------

Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants