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

fix: close profile dropdown on first click when navigating #8824

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

JavidSumra
Copy link

Proposed Changes

  • Fixes Modify Active Profile Dropdown Behavior to Redirect to Other Pages #8816 : Ensures the profile dropdown menu closes on the first click when the user clicks on another navigation item.
  • Added modal={false} to the DropdownMenu in SidebarUserCard component to prevent the dropdown from requiring a second click for navigation actions.
  • Improved user experience by allowing immediate navigation to other pages when the profile dropdown is open.

@ohcnetwork/care-fe-code-reviewers

Demo Video: View here

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews.
  • Completion of QA.

@JavidSumra JavidSumra requested a review from a team as a code owner October 18, 2024 11:40
Copy link

netlify bot commented Oct 18, 2024

Deploy Preview for care-ohc ready!

Name Link
🔨 Latest commit de06f49
🔍 Latest deploy log https://app.netlify.com/sites/care-ohc/deploys/6712493bf1825200086c9a75
😎 Deploy Preview https://deploy-preview-8824--care-ohc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@JavidSumra
Copy link
Author

@nihal467 sir can you please review this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify Active Profile Dropdown Behavior to Redirect to Other Pages
3 participants