care_fe icon indicating copy to clipboard operation
care_fe copied to clipboard

fix: Auto-close country codes dropdown when clicking outside the component

Open UdaySagar-Git opened this issue 10 months ago • 3 comments

Proposed Changes

  • Fixes #7557

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

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

UdaySagar-Git avatar Apr 07 '24 06:04 UdaySagar-Git

@UdaySagar-Git is attempting to deploy a commit to the Open Healthcare Network Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 07 '24 06:04 vercel[bot]

Deploy Preview for care-egov-staging ready!

Name Link
Latest commit 065c86955a6426614ba4e05512f35e5bb117bde4
Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/6627bbd103fa980008097205
Deploy Preview https://deploy-preview-7561--care-egov-staging.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.

netlify[bot] avatar Apr 07 '24 06:04 netlify[bot]

LGTM

nihal467 avatar Apr 08 '24 21:04 nihal467

Would it be possible to use one of the headlessui component to handle the dropdown/popover? So that we won't need a custom hook to handle click outside to begin with?

will give it a try

UdaySagar-Git avatar Apr 10 '24 14:04 UdaySagar-Git

LGTM

nihal467 avatar Apr 23 '24 18:04 nihal467

@UdaySagar-Git Your efforts have helped advance digital healthcare and TeleICU systems. :rocket: Thank you for taking the time out to make CARE better. We hope you continue to innovate and contribute; your impact is immense! :raised_hands:

github-actions[bot] avatar Apr 24 '24 06:04 github-actions[bot]