- Press Space to drag the attribute within the table or to a graph.
- Press Enter to open the attribute menu.
-
+
+
+ {t("V3.CaseTable.attributeDragInstructions")}
>
)
diff --git a/v3/src/components/case-tile-common/attribute-menu/attribute-menu-list.tsx b/v3/src/components/case-tile-common/attribute-menu/attribute-menu-list.tsx
index 8351bc755e..a5ed3fb584 100644
--- a/v3/src/components/case-tile-common/attribute-menu/attribute-menu-list.tsx
+++ b/v3/src/components/case-tile-common/attribute-menu/attribute-menu-list.tsx
@@ -3,6 +3,7 @@ import { observer } from "mobx-react-lite"
import React, { forwardRef } from "react"
import { useDataSetContext } from "../../../hooks/use-data-set-context"
import { useDataSetMetadata } from "../../../hooks/use-data-set-metadata"
+import { useMenuItemScrollIntoView } from "../../../hooks/use-menu-item-scroll-into-view"
import { logMessageWithReplacement, logStringifiedObjectMessage } from "../../../lib/log-message"
import {
deleteCollectionNotification, dependentCasesNotification, hideAttributeNotification, removeAttributesNotification
@@ -32,6 +33,8 @@ const AttributeMenuListComponent = forwardRef(
const tableModel = useCaseTableModel()
const { isOpen, onClose, onOpen } = useDisclosure()
+ const handleMenuItemFocus = useMenuItemScrollIntoView()
+
if (!attributeId) return null
const attribute = data?.getAttribute(attributeId)
@@ -224,7 +227,8 @@ const AttributeMenuListComponent = forwardRef(
return (
<>
-
+
{menuItems.map(item => (