EUI form inputs sometimes are not receiving focus on mouse click.
For example, on opening this flyout in the ML Anomaly Explorer page, clicking on the EuiTextArea is not giving it focus:

Have also seen this happen on inputs inside Kibana Dashboard, such as the inputs in the date picker, and on the Index Patterns page inside Stack Management. The only way to get focus is to use the keyboard to TAB into the input.
Found on Kibana with EUI v26.3.1.
I've replicated in the anomaly explorer page on Kibana master branch. Digging into the cause now.
Specifically: if I view a job in the single metric viewer and then switch to the Anomaly Explorer, the Annotations search box is never focusable. Also of interest: if I tab to that search box so it has focus, I cannot shift focus away from it by clicking on the page body.
Reproducible in Chrome, FF, Safari, and Edge on MacOS
Observerations/Findings
HTMLElement.prototype.focus, which may be used prevent the operationdocument.body for click and mousedown events, both successfully bubble up with the expected target input field - browsers apply focus changes between these two events@peteharverson I see something happening with the ml-swimlane-selector that may be related. It appears that opening the anomaly explorer adds 2 or 4 of these elements and never removes them, and they're doing something in response to mouse clicks on the page. Can you or someone on ML take a look into that?

hey @chandlerprall, thanks for spotting this, the fix is coming
The issue fixed by https://github.com/elastic/kibana/pull/72250, sorry for bothering! 馃槄