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 }; 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.