From 6e856524d7f9484c2797c5237c89437e3bc8bf1b Mon Sep 17 00:00:00 2001 From: Jesper Hodge Date: Wed, 1 Apr 2026 18:24:36 -0400 Subject: [PATCH 1/2] fix: autofocus --- src/taxonomy/tree-table/EditableCell.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/taxonomy/tree-table/EditableCell.tsx b/src/taxonomy/tree-table/EditableCell.tsx index 09a660c159..8cdc10aabc 100644 --- a/src/taxonomy/tree-table/EditableCell.tsx +++ b/src/taxonomy/tree-table/EditableCell.tsx @@ -48,7 +48,6 @@ const EditableCell = ({ useEffect(() => { if (autoFocus && inputRef.current) { inputRef.current.focus(); - inputRef.current.select(); } }, [inputRef.current]); // autoFocus explicitly not a dependency, to avoid unexpected focus change. From 97264c68fd0bc7cf678a865623dc571073b3a448 Mon Sep 17 00:00:00 2001 From: Jesper Hodge Date: Wed, 1 Apr 2026 18:24:49 -0400 Subject: [PATCH 2/2] fix: max depth --- src/taxonomy/taxonomy-detail/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/taxonomy/taxonomy-detail/constants.ts b/src/taxonomy/taxonomy-detail/constants.ts index 442573c7c3..fedec20613 100644 --- a/src/taxonomy/taxonomy-detail/constants.ts +++ b/src/taxonomy/taxonomy-detail/constants.ts @@ -6,6 +6,6 @@ * tags exceeding this depth, they will still be rendered, but further nesting will be blocked. * * **Sync Required**: This must match `TAXONOMY_MAX_DEPTH` in the openedx-core backend. */ -const TAXONOMY_MAX_DEPTH = 3; +const TAXONOMY_MAX_DEPTH = 5; export { TAXONOMY_MAX_DEPTH };