Skip to content

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

@lujun2

Description

@lujun2

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions