Skip to content

feat: add updatePositionDeps prop to popover component#2390

Merged
jrgarciadev merged 1 commit into
heroui-inc:mainfrom
u3u:feat/popover-update-position-deps
Mar 3, 2024
Merged

feat: add updatePositionDeps prop to popover component#2390
jrgarciadev merged 1 commit into
heroui-inc:mainfrom
u3u:feat/popover-update-position-deps

Conversation

@u3u
Copy link
Copy Markdown
Contributor

@u3u u3u commented Feb 20, 2024

📝 Description

Currently, the Popover component cannot actively update its position, which makes it unusable in some scenarios, such as when the scroll bar position changes in a nested scrolling container.

🚀 New behavior

Like the Tooltip component, an updatePositionDeps property has been added to allow external dependencies to force update the position of Popover.

💣 Is this a breaking change (Yes/No):

No

@u3u u3u requested a review from jrgarciadev as a code owner February 20, 2024 08:09
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 20, 2024

🦋 Changeset detected

Latest commit: 9000081

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@nextui-org/popover Minor
@nextui-org/autocomplete Patch
@nextui-org/dropdown Patch
@nextui-org/select Patch
@nextui-org/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

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextui-storybook-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2024 8:11am

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 20, 2024

@u3u is attempting to deploy a commit to the NextUI Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown
Member

@jrgarciadev jrgarciadev left a comment

Choose a reason for hiding this comment

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

Thank you! @u3u

@jrgarciadev jrgarciadev merged commit a235e32 into heroui-inc:main Mar 3, 2024
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.

2 participants