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

Add overlay props to Autocomplete.Overlay #1967

Merged
merged 3 commits into from
Mar 17, 2022
Merged

Conversation

pksjce
Copy link
Collaborator

@pksjce pksjce commented Mar 16, 2022

Describe your changes here.

Add overlay props to Autocomplete.Overlay

Closes #1951

Merge checklist

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

@pksjce pksjce requested review from a team and rezrah March 16, 2022 09:34
@changeset-bot
Copy link

changeset-bot bot commented Mar 16, 2022

🦋 Changeset detected

Latest commit: 63272bb

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 Mar 16, 2022

size-limit report 📦

Path Size
dist/browser.esm.js 63.2 KB (+0.02% 🔺)
dist/browser.umd.js 63.56 KB (+0.02% 🔺)

const autocompleteContext = useContext(AutocompleteContext)
if (autocompleteContext === null) {
throw new Error('AutocompleteContext returned null values')
}
const overlayProps = {...oldOverlayProps, ...newOverlayProps}
Copy link
Member

@siddharthkp siddharthkp Mar 16, 2022

Choose a reason for hiding this comment

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

backwards compatibility! love to see it!

@pksjce pksjce force-pushed the pk/autocomplete-overlay-bug branch from 042d372 to 8584557 Compare March 17, 2022 04:10
@pksjce pksjce changed the title WIP: Add overlay props to Autocomplete.Overlay Add overlay props to Autocomplete.Overlay Mar 17, 2022
@pksjce pksjce enabled auto-merge (squash) March 17, 2022 04:11
@pksjce pksjce merged commit c83a06f into main Mar 17, 2022
@pksjce pksjce deleted the pk/autocomplete-overlay-bug branch March 17, 2022 04:16
@primer-css primer-css mentioned this pull request Mar 17, 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.

Update Autocomplete.Overlay props API
2 participants