From fdeb7689d7300da07db1e1d43a8fd73ca1cbd1ea Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Fri, 18 Mar 2022 16:02:58 -0400 Subject: [PATCH] fixes #709 --- docs/resources/changelog.md | 1 + src/internal/modal.ts | 33 ++++++++++++++++++++++----------- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index 0469094f..05d59314 100644 --- a/docs/resources/changelog.md +++ b/docs/resources/changelog.md @@ -15,6 +15,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis - Fixed a bug that prevented form submission from working as expected in some cases - Fixed a bug that prevented `` from toggling `vertical` properly [#703](https://github.com/shoelace-style/shoelace/issues/703) - Fixed a bug that prevented `` from rendering a color initially [#704](https://github.com/shoelace-style/shoelace/issues/704) +- Fixed a bug that caused focus trapping to fail when used inside a shadow root [#709](https://github.com/shoelace-style/shoelace/issues/709) - Improved accessibility throughout the docs - Improved accessibility of `` so the trigger's expanded state is announced correctly - Improved accessibility of `` but rendering a `