-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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(autocomplete): missing popover props except content #4496
Conversation
🦋 Changeset detectedLatest commit: 82588c7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThis pull request addresses an issue with the Changes
Assessment against linked issues
Possibly related PRs
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
packages/components/autocomplete/src/use-autocomplete.ts (1)
Line range hint
485-491
: Ensure compatibility when merging classNames.Merging
classNames
fromslotsProps.popoverProps
is a good step for better styling flexibility. However, be cautious about potential naming collisions or specificity issues. Make sure that when user-defined classes and default classes overlap, the intended styling always takes precedence.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.changeset/seven-news-melt.md
(1 hunks)packages/components/autocomplete/src/use-autocomplete.ts
(1 hunks)
🔇 Additional comments (1)
.changeset/seven-news-melt.md (1)
1-5
: Changeset patch looks good.The changeset correctly patches the
@nextui-org/autocomplete
package to address the missing popover properties. This is a straightforward implementation with no apparent issues.
Closes #4484
📝 Description
Currently when users pass
popoverProps
in Autocomplete, onlycontent
is passed. This PR is to include other popover props.⛳️ Current behavior (updates)
🚀 New behavior
💣 Is this a breaking change (Yes/No):
📝 Additional Information
Summary by CodeRabbit
@nextui-org/autocomplete
package by adding missing popover properties