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

Bug - [SearchInput] - autoFocus attribute doesn't work as expected when using SearchInput Component #10889

Open
lujun2 opened this issue Aug 28, 2024 · 1 comment

Comments

@lujun2
Copy link

lujun2 commented Aug 28, 2024

Describe the problem

SearchInput cannot gain focus when autoFocus attribute set

How do you reproduce the problem?

SearchInput with autoFocus attribute cannot gain focus,

but TextInput with autoFocus can work correctly

Expected behavior

SearchInput should gain focus after page loaded

Is this issue blocking you?

no, just for user experience

Screenshots

What is your environment?

  • OS: [macOS]
  • Browser [Chrome Version 127.0.6533.122 (Official Build) (x86_64)]
  • Patternfly Version [5.4.0]

What is your product and what release date are you targeting?

Any other information?

@lujun2 lujun2 added the bug label Aug 28, 2024
@tlabaj
Copy link
Contributor

tlabaj commented Sep 19, 2024

Let's add a prop to spread props to the input.

@tlabaj tlabaj added this to the Prioritized Backlog milestone Sep 19, 2024
@github-staff github-staff deleted a comment from ViniciusSCG Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

3 participants
@lujun2 @tlabaj and others