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

Detached mode - entered text is present in two places #1187

Open
Mikilll94 opened this issue Sep 8, 2023 · 1 comment
Open

Detached mode - entered text is present in two places #1187

Mikilll94 opened this issue Sep 8, 2023 · 1 comment

Comments

@Mikilll94
Copy link

Description

Reproduction

Preview →

Steps

  1. Go to the CodeSandbox link.
  2. Click on the Autocomplete.
  3. Type "Tw".
  4. As you can see "Tw" is present in two places -> in the modal and in the button which triggered the modal.
Screenshot 2023-09-08 at 16 29 51

Expected behavior

In detached mode when we type something into Autocomplete, the entered text should only be visible in the modal, not in the button which triggers modal.

Environment

  • OS: macOS
  • Browser: Brave Version 1.57.62 Chromium: 116.0.5845.180 (Official Build) (x86_64)
  • Autocomplete version: 1.11.0
@shijithkjayan
Copy link

Try this:

.aa-DetachedSearchButtonQuery {
  display: none;
}

This will hide the query on the button

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

No branches or pull requests

2 participants