This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 15d9f1dff92 Fix grid keyboard navigation from stealing focus (#54271)
15d9f1dff92 is described below
commit 15d9f1dff92ff7ff32d3e209fcd9bd031ffa661e
Author: Pierre Jeambrun <[email protected]>
AuthorDate: Fri Aug 8 18:22:07 2025 +0200
Fix grid keyboard navigation from stealing focus (#54271)
---
airflow-core/src/airflow/ui/src/layouts/Details/Grid/Grid.tsx | 6 ------
1 file changed, 6 deletions(-)
diff --git a/airflow-core/src/airflow/ui/src/layouts/Details/Grid/Grid.tsx
b/airflow-core/src/airflow/ui/src/layouts/Details/Grid/Grid.tsx
index a32de624b2d..f631fc57e46 100644
--- a/airflow-core/src/airflow/ui/src/layouts/Details/Grid/Grid.tsx
+++ b/airflow-core/src/airflow/ui/src/layouts/Details/Grid/Grid.tsx
@@ -121,12 +121,6 @@ export const Grid = ({ limit }: Props) => {
tasks: flatNodes,
});
- useEffect(() => {
- if (gridRef.current && gridRuns && flatNodes.length > 0) {
- setGridFocus(true);
- }
- }, [gridRuns, flatNodes.length, setGridFocus]);
-
return (
<Flex
_focus={{