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

Pressure Sore popup does not close when clicked outside #6446

Closed
rithviknishad opened this issue Oct 13, 2023 · 1 comment · Fixed by #6482
Closed

Pressure Sore popup does not close when clicked outside #6446

rithviknishad opened this issue Oct 13, 2023 · 1 comment · Fixed by #6482
Assignees
Labels
good first issue Good for newcomers

Comments

@rithviknishad
Copy link
Member

Describe the bug
Pressure Sore popup does not close when clicked outside

To Reproduce
Steps to reproduce the behavior:

  1. Go to a patient's consultation dashboard
  2. Open the "Pressure Sore" tab
  3. Open a popup and attempt to click outside

Expected behavior
The popup should close onBlur/click outside.

Consider using headlessui's Popover component instead which would out of the box handle onBlur/click outside (and for consistent behaviour across other popover usages)

Screenshots
image

@rithviknishad rithviknishad added the good first issue Good for newcomers label Oct 13, 2023
@github-project-automation github-project-automation bot moved this to Triage in Care Oct 13, 2023
@rithviknishad rithviknishad moved this from Triage to Up Next in Care Oct 13, 2023
@thedevildude
Copy link
Contributor

Hi, can you please assign me this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants