We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ad6b4 commit 21b3d4eCopy full SHA for 21b3d4e
packages/ui/src/elements/TreeView/NestedSectionsTable/Row/index.tsx
@@ -146,6 +146,11 @@ export const NestedSectionsTableRow: React.FC<DivTableRowProps> = ({
146
}
147
: undefined
148
149
+ onMouseDown={(e) => {
150
+ // Prevent focus on mouse click to avoid the flash of focused state
151
+ // Focus should only be triggered via keyboard navigation
152
+ e.preventDefault()
153
+ }}
154
ref={rowRef}
155
role="button"
156
tabIndex={hasSelectedAncestor ? -1 : 0}
0 commit comments