fix focus trap when open on init

This commit is contained in:
Cory LaViska
2021-06-28 16:49:56 -04:00
parent d4d581e4fb
commit d6eeacbdc1
3 changed files with 11 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ The docs have been updated to use the new `custom-elements.json` file. If you're
- Added `sl-request-close` event to `sl-dialog` and `sl-drawer`
- Added `dialog.denyClose` and `drawer.denyClose` animations
- Fixed a bug in `sl-color-picker` where setting `value` immediately wouldn't trigger an update
- Fixed a bug in `sl-dialog` and `sl-drawer` where setting `open` intially didn't set a focus trap
- Fixed a bug that resulted in form controls having incorrect validity when `disabled` was initially set [#473](https://github.com/shoelace-style/shoelace/issues/473)
- Fixed a bug in the docs that caused the metadata file to be requested twice
- Updated the docs to use the new `custom-elements.json` for component metadata