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

(Autocomplete) - Last typed character is lost on blur, when the value matches a suggestion #4289

Open
timges opened this issue Feb 20, 2024 · 1 comment · May be fixed by #4290
Open

(Autocomplete) - Last typed character is lost on blur, when the value matches a suggestion #4289

timges opened this issue Feb 20, 2024 · 1 comment · May be fixed by #4290
Labels
bug Something isn't working react

Comments

@timges
Copy link

timges commented Feb 20, 2024

Description

Screen.Recording.2024-02-20.at.14.13.19.mov

When the string you type into the autocomplete input field exactly matches a suggestion, the last character is lost on blur

Steps to reproduce

  1. Go here https://primer.style/components/autocomplete/react/alpha#examples
  2. focus the autocomplete & clear the input
  3. type 'css'
  4. hit tab

-> last character is lost

Version

v36.9.0

Browser

Chrome, Safari, Firefox, Edge

@timges timges added the bug Something isn't working label Feb 20, 2024
@timges timges linked a pull request Feb 20, 2024 that will close this issue
13 tasks
@broccolinisoup
Copy link
Member

Hi @timges 👋 Thanks for raising this issue and creating a PR to fix it! We really appreciate it 🙏 One of us from the team will review your PR hopefully soon! Thanks for contributing to Primer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working react
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants