Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [Obs Infrastructure > Hosts][KEYBOARD]: Host flyout has buggy sc…
…rolling when I expand the State dropdown menu (#192372) Closes: elastic/observability-accessibility#98 ## Description The Obs Applications > Hosts > Host popout menu has a buggy keyboard navigation behavior when I expand the `State` dropdown. If I press `Down_Arrow` before tabbing into the State dropdown, the entire page scrolls. This feels like a bug because I was not expecting the page to shift. It creates an unexpected scroll event, so treating it as a keyboard nav bug. I've attached an MOV file to show the behavior. ### Steps to recreate 1. Open the [Obs Hosts](https://issue-serverless-bdwqw-pr183659-f2d99b.kb.eu-west-1.aws.qa.elastic.cloud/app/metrics/hosts) view 2. Click double arrows next to a host in the table 3. Click the `Processes` tab in the flyout 4. Tab through to the State dropdown and press `Enter` 5. Press `Down_Arrow` to see the entire page scroll, but not the State menu options 6. Press`Tab` to "drop into" the State menu 7. Press `Down_Arrow` again to see the menu scroll correctly ### What was changed?: 1. Removed `ownFocus={false}` from `EuiFlyout`. This restores the default user experience (UX) for `EuiFlyout` and resolves the mentioned issue.
- Loading branch information