Bug - [SearchInput] - autoFocus attribute doesn't work as expected when using SearchInput Component
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?
Let's add a prop to spread props to the input.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.