Skip to content

Commit c5f56cd

Browse files
authored
Removing the focusring from the items in the file_tree. (#35364)
1 parent fad5a41 commit c5f56cd

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

x-pack/plugins/code/public/components/file_tree/__snapshots__/file_tree.test.tsx.snap

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/code/public/components/file_tree/file_tree.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class CodeFileTree extends React.Component<Props> {
8787
}
8888

8989
public getItemRenderer = (node: Tree, forceOpen: boolean, flattenFrom?: Tree) => () => {
90-
const className = 'codeFileTree__item';
90+
const className = 'codeFileTree__item kbn-resetFocusState';
9191
let bg = null;
9292
if (this.props.match.params.path === node.path) {
9393
bg = <div ref={el => this.scrollIntoView(el)} className="codeFileTree__node--fullWidth" />;

0 commit comments

Comments
 (0)