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

Issue: Outside click not hiding search results #11893

Open
kavania2002 opened this issue Sep 23, 2024 · 0 comments
Open

Issue: Outside click not hiding search results #11893

kavania2002 opened this issue Sep 23, 2024 · 0 comments
Labels
documentation Relates to documentation triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

Comments

@kavania2002
Copy link
Contributor

kavania2002 commented Sep 23, 2024

What is the improvement or update you wish to see?

The search component does not hide results when the user clicks outside of the results box. I would like to see the search results automatically hidden when an outside click is detected.

Is there any context that might help us understand?

Currently, when using the search functionality in the component, the results remain visible even if the user clicks outside the search results area. This creates a poor user experience as the results should disappear once the user clicks outside. Adding an event listener to detect outside clicks and hide the results will improve usability.

Does the docs page already exist? Please link to it.

https://authjs.dev/getting-started

Please assign this issue to me. I would be happy to give it a try.

@kavania2002 kavania2002 added documentation Relates to documentation triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Relates to documentation triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Projects
None yet
Development

No branches or pull requests

1 participant