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 issue where scroll containers nested inside of PageLayout.Pane would be hard to use on mobile. #2606

Merged
merged 11 commits into from Dec 2, 2022

Conversation

radglob
Copy link
Contributor

@radglob radglob commented Nov 22, 2022

Setting overflow: auto only on larger screen sizes addresses this issue. Instead of the user needing to focus outside of an inner scroll container on mobile, all sections flow inside a single scroll container.

There's an additional storybook story (Scroll Container within Page Layout Pane) that demonstrates this.

Closes github/primer#1517

Screenshots

Please provide before/after screenshots for any visual changes

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

…new storybook story for testing issues found in code tree.
@radglob radglob self-assigned this Nov 22, 2022
@changeset-bot
Copy link

changeset-bot bot commented Nov 22, 2022

🦋 Changeset detected

Latest commit: 5ce62ef

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

github-actions bot commented Nov 22, 2022

size-limit report 📦

Path Size
dist/browser.esm.js 78.95 KB (+0.01% 🔺)
dist/browser.umd.js 79.58 KB (+0.01% 🔺)

@github-actions github-actions bot temporarily deployed to storybook-preview-2606 November 22, 2022 15:17 Inactive
@radglob radglob temporarily deployed to github-pages November 22, 2022 15:18 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2606 November 22, 2022 15:19 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2606 November 22, 2022 15:19 Inactive
@radglob radglob temporarily deployed to github-pages November 22, 2022 15:32 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2606 November 22, 2022 15:33 Inactive
@radglob radglob marked this pull request as ready for review November 22, 2022 19:06
@radglob radglob requested review from a team and siddharthkp November 22, 2022 19:06
@radglob radglob temporarily deployed to github-pages November 23, 2022 14:25 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2606 November 23, 2022 14:25 Inactive
@radglob radglob temporarily deployed to github-pages November 23, 2022 16:47 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2606 November 23, 2022 16:48 Inactive
@radglob radglob temporarily deployed to github-pages November 28, 2022 15:12 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2606 November 28, 2022 15:13 Inactive
@radglob radglob temporarily deployed to github-pages November 28, 2022 17:33 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2606 November 28, 2022 17:33 Inactive
@radglob radglob temporarily deployed to github-pages November 28, 2022 19:35 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2606 November 28, 2022 19:36 Inactive
@radglob radglob temporarily deployed to github-pages November 29, 2022 19:19 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2606 November 29, 2022 19:20 Inactive
Copy link
Contributor

@colebemis colebemis left a comment

Choose a reason for hiding this comment

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

🚀

@colebemis colebemis merged commit e98bcdf into main Dec 2, 2022
@colebemis colebemis deleted the bug/pagelayout-pane-overflow branch December 2, 2022 01:01
@primer-css primer-css mentioned this pull request Dec 2, 2022
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