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

Drop for TextInput with suggestions does not close when clicking on Layer #6565

Open
halocline opened this issue Jan 6, 2023 · 0 comments · May be fixed by #6567
Open

Drop for TextInput with suggestions does not close when clicking on Layer #6565

halocline opened this issue Jan 6, 2023 · 0 comments · May be fixed by #6567
Assignees
Labels
bug issue that does not match design or documentation and requires code changes to address

Comments

@halocline
Copy link
Collaborator

Expected Behavior

Any click outside the TextInput or its suggestions drop should close the drop.

Actual Behavior

Clicks outside the input or suggestions drop do not close if the click target is on a layer.

"The crux of the issue is that the suggestions do not go away when you click on the layer - so that is what is up. Specifically this is an issue with we have with home.hpe.com and search. User enters a search term and the results are on the layer."

URL, screen shot, or Codepen exhibiting the issue

https://codesandbox.io/p/github/matsawka/publiclayer/main?file=%2Fsrc%2FApp.js

Steps to Reproduce

  1. Click within the search input - the suggestions Drop should open.
  2. Click on the Layer - the drop does not close.

Your Environment

  • Grommet version: v2.28.0
  • Browser Name and version: FireFox, Chrome, Safari
  • Operating System and version (desktop or mobile): MacOS, Windows
@jcfilben jcfilben added the bug issue that does not match design or documentation and requires code changes to address label Apr 6, 2023
@britt6612 britt6612 self-assigned this Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue that does not match design or documentation and requires code changes to address
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants