MCPcopy Create free account
hub / github.com/arctic-cli/interface / resetTabIndex

Function resetTabIndex

packages/ui/src/components/dialog.tsx:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 const [local, others] = splitProps(props, ["trigger", "class", "classList", "children"])
20
21 const resetTabIndex = () => {
22 trigger.tabIndex = 0
23 }
24
25 const handleTriggerFocus = (e: FocusEvent & { currentTarget: HTMLElement | null }) => {
26 const firstChild = e.currentTarget?.firstElementChild as HTMLElement

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected