-
Notifications
You must be signed in to change notification settings - Fork 538
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
Update to new version of behaviors #3960
Conversation
🦋 Changeset detectedLatest commit: c74ad0d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Uh oh! @pksjce, the image you shared is missing helpful alt text. Check your pull request body. 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. |
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a tiny optional comment, approving in advance!
Co-authored-by: Siddharth Kshetrapal <siddharthkp@github.com>
Tagging @jonrohan @JelloBagel as they have authored 1.3.5/1.3.6 and 1.40/1.50 respectively |
Closes https://github.com/github/accessibility-audits/issues/4515
Changelog
The calculations to position the action menu next to it's trigger anchor point had a bug where if the available vertical viewport space was lesser than the height of the action menu it would cut off a portion of the top menu above the viewport.
We fixed this by adding tweaks to the calculations and verifying through new and old test cases in the @primer/behaviors repository. In this PR I'm updating to newer version of @primer/behaviors with my fixes.
Before screenshot
After screenshot
Rollout strategy
This will be a patch release since it's a bug fix.
Testing & Reviewing
This can be tested in this storybook. Keep the devtools window open so as to reduce viewport height to be less than action menu height. https://primer.style/react/storybook/?path=/story/components-actionmenu-examples--multiple-sections
Merge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.