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

Persist search query in search bar #283

Open
kurucaner opened this issue Jun 15, 2024 · 0 comments
Open

Persist search query in search bar #283

kurucaner opened this issue Jun 15, 2024 · 0 comments

Comments

@kurucaner
Copy link

I am using your dropdown library in my React Native app, which includes a search bar. When I select an item from the dropdown, the dropdown closes as expected. However, when I reopen the dropdown, the search query in the search bar is reset. I would like the search query to persist when reopening the dropdown.

Steps to Reproduce:

  • Open the dropdown.
  • Enter a search query in the search bar.
  • Select an item from the dropdown (dropdown closes).
  • Reopen the dropdown.

Expected Behavior:
When the dropdown is reopened, the search query should remain in the search bar.

Actual Behavior:
When the dropdown is reopened, the search query is cleared from the search bar.

Any advice on how to achieve this behavior?

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

1 participant