This commit is contained in:
Cory LaViska
2021-03-09 12:52:36 -05:00
parent fca8c2fdce
commit 7b907bc326
2 changed files with 4 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
## Nexts
- Add touch support to `sl-rating` [#362](https://github.com/shoelace-style/shoelace/pull/362)
- Fixed a bug where the `open` attribute on `sl-details` would prevent it from opening [#357](https://github.com/shoelace-style/shoelace/issues/357)
## 2.0.0-beta.30

View File

@@ -162,7 +162,9 @@ export default class SlDetails extends LitElement {
@watch('open')
handleOpenChange() {
this.open ? this.show() : this.hide();
if (this.details) {
this.open ? this.show() : this.hide();
}
}
render() {