From b27c2f69c254a5570b2be99512de2fcacc8d9165 Mon Sep 17 00:00:00 2001 From: Lee Chase Date: Thu, 13 Feb 2020 12:14:22 +0000 Subject: [PATCH] fix: ids for controlled panels (#829) --- packages/core/src/components/cv-ui-shell/cv-header-panel.vue | 1 + packages/core/src/components/cv-ui-shell/cv-side-nav.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/core/src/components/cv-ui-shell/cv-header-panel.vue b/packages/core/src/components/cv-ui-shell/cv-header-panel.vue index e0cb37d17..cb378be62 100644 --- a/packages/core/src/components/cv-ui-shell/cv-header-panel.vue +++ b/packages/core/src/components/cv-ui-shell/cv-header-panel.vue @@ -3,6 +3,7 @@ class="cv-header-panel bx--header-panel" :class="{ 'bx--header-panel--expanded': panelExpanded }" :aria-hidden="!panelExpanded" + :id="id" @focusout="onFocusout" @mousedown="onMouseDown" > diff --git a/packages/core/src/components/cv-ui-shell/cv-side-nav.vue b/packages/core/src/components/cv-ui-shell/cv-side-nav.vue index fff176a2d..1a6cbd6cd 100644 --- a/packages/core/src/components/cv-ui-shell/cv-side-nav.vue +++ b/packages/core/src/components/cv-ui-shell/cv-side-nav.vue @@ -8,6 +8,7 @@ 'bx--side-nav--ux': isChildOfHeader, }" :aria-hidden="!panelExpanded && !fixed" + :id="id" @focusout="onFocusout" @mousedown="onMouseDown" >