-
-
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(navbar): lazy motion forwardRef issue #2527
Conversation
🦋 Changeset detectedLatest commit: 5253e39 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 ↗︎
|
WalkthroughThe patch addresses a specific issue with the Changes
Assessment against linked issues
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 as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
@wingkwong is attempting to deploy a commit to the NextUI Inc Team on Vercel. A member of the Team first needs to authorize it. |
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.
Review Status
Actionable comments generated: 0
Configuration used: .coderabbit.yaml
Files selected for processing (2)
- .changeset/dirty-beans-repair.md (1 hunks)
- packages/components/navbar/src/navbar-menu.tsx (2 hunks)
Additional comments: 2
.changeset/dirty-beans-repair.md (1)
- 1-5: The changeset file accurately documents the patch for the "@nextui-org/navbar" package, addressing the LazyMotion ForwardRef issue. This documentation is crucial for tracking changes and understanding the scope of the patch.
packages/components/navbar/src/navbar-menu.tsx (1)
- 60-67: > 📝 NOTE
This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [63-84]
The reordering of the
LazyMotion
andMenuWrapper
components within theNavbarMenu
component is well-integrated and aligns with the PR objectives to fix the scrolling issue on mobile devices. Ensure thorough testing is conducted to verify that this change does not negatively impact the animation behavior or introduce any new issues.
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.
Thank you! @wingkwong
Closes #2521
📝 Description
swapped the level of
LazyMotion
andMenuWrapper
⛳️ Current behavior (updates)
currently we can't scroll mobile sidebar due to the latest lazy motion changes
🚀 New behavior
pr-2527-demo.webm
💣 Is this a breaking change (Yes/No):
No
📝 Additional Information
Summary by CodeRabbit