Skip to content

Commit

Permalink
fix: ids for controlled panels (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-chase authored Feb 13, 2020
1 parent 3972244 commit b27c2f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/components/cv-ui-shell/cv-side-nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
'bx--side-nav--ux': isChildOfHeader,
}"
:aria-hidden="!panelExpanded && !fixed"
:id="id"
@focusout="onFocusout"
@mousedown="onMouseDown"
>
Expand Down

0 comments on commit b27c2f6

Please sign in to comment.