diff --git a/ui/src/components/tabs/use-tab.js b/ui/src/components/tabs/use-tab.js index 0e3d9782b05..857c4f7a199 100644 --- a/ui/src/components/tabs/use-tab.js +++ b/ui/src/components/tabs/use-tab.js @@ -99,7 +99,7 @@ export default function (props, slots, emit, routeData) { )) function onClick (e, keyboard) { - if (keyboard !== true && blurTargetRef.value !== null) { + if (keyboard !== true && blurTargetRef.value !== null && e.isTrusted === true) { blurTargetRef.value.focus() }