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.
DialogPrimitive
1 parent 26bc137 commit 1e01541Copy full SHA for 1e01541
.changeset/heavy-impalas-call.md
@@ -0,0 +1,7 @@
1
+---
2
+"@hashicorp/design-system-components": patch
3
4
+
5
+<!-- START components/dialog-primitive -->
6
+`DialogPrimitive` - changed `DialogPrimitiveBody` z-index from 0 to -1 to keep it focusable without showing visible focus styles.
7
+<!-- END -->
packages/components/src/components/hds/dialog-primitive/body.hbs
@@ -2,6 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
-<div class="hds-dialog-primitive__body {{@contextualClass}}" tabindex="0" ...attributes>
+<div class="hds-dialog-primitive__body {{@contextualClass}}" tabindex="-1" ...attributes>
{{yield}}
</div>
0 commit comments