Skip to content

Conversation

@francinelucca
Copy link
Member

Disables body scroll when SelectPanel is open on full screen mode. Fixes bug where the document scroll bar was clipping the TextInput. Page scrolling shouldn't have been enabled in the first place.

Changelog

New

  • Detect narrow screen size in SelectPanel and disable body scroll if the FullScreen FF is turned on

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

@francinelucca francinelucca requested a review from a team as a code owner April 8, 2025 13:33
@francinelucca francinelucca requested a review from jonrohan April 8, 2025 13:33
@changeset-bot
Copy link

changeset-bot bot commented Apr 8, 2025

🦋 Changeset detected

Latest commit: 985b6ad

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

@github-actions github-actions bot added the staff Author is a staff member label Apr 8, 2025
@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 Apr 8, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2025

👋 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
Copy link
Contributor

github-actions bot commented Apr 8, 2025

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 104.35 KB (+0.03% 🔺)
packages/react/dist/browser.umd.js 104.74 KB (-0.01% 🔽)

@primer-integration
Copy link

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

@github-actions github-actions bot temporarily deployed to storybook-preview-5904 April 8, 2025 13:46 Inactive
Copy link
Contributor

@hectahertz hectahertz left a comment

Choose a reason for hiding this comment

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

I wish we could handle it some other way, but probably we'd need more control of the page structure for that. Let's merge this for now.

@primer-integration
Copy link

🟢 golden-jobs completed with status success.

@github-actions github-actions bot added integration-tests: passing Changes in this PR do NOT 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 Apr 8, 2025
@francinelucca francinelucca enabled auto-merge April 8, 2025 14:46
… github.com:primer/react into fix/disable-body-scroll-on-select-panel-full-screen
@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 Apr 8, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2025

👋 Hi, there are new commits since the last successful integration test. We recommend running the integration workflow once more, unless you are sure the new changes do not affect github/github. Thanks!

@github-actions github-actions bot temporarily deployed to storybook-preview-5904 April 8, 2025 15:05 Inactive
@francinelucca francinelucca added the update snapshots 🤖 Command that updates VRT snapshots on the pull request label Apr 8, 2025
@github-actions github-actions bot removed the update snapshots 🤖 Command that updates VRT snapshots on the pull request label Apr 8, 2025
@francinelucca francinelucca added this pull request to the merge queue Apr 8, 2025
Merged via the queue into main with commit a522fdb Apr 8, 2025
71 of 73 checks passed
@francinelucca francinelucca deleted the fix/disable-body-scroll-on-select-panel-full-screen branch April 8, 2025 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: passing Changes in this PR do NOT cause breaking changes in gh/gh integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm staff Author is a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants