Fix indeterminate state bug

This commit is contained in:
Cory LaViska
2020-10-15 09:18:20 -04:00
parent 5e8db633b9
commit 309c413f76
2 changed files with 2 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
## Next
- Fixed a bug where initial transitions didn't show in `sl-dialog` and `sl-drawer` [#247](https://github.com/shoelace-style/shoelace/issues/247)
- Fixed a bug where indeterminate checkboxes would maintain the indeterminate state when toggled
- Improved `sl-color-picker` grid and slider handles [#246](https://github.com/shoelace-style/shoelace/issues/246)
- Reworked show/hide logic in `sl-alert`, `sl-dialog`, and `sl-drawer` to not use reflow hacks and the `hidden` attribute
- Updated to Popper 2.5.3 to address a fixed position bug in Firefox

View File

@@ -103,7 +103,7 @@ export class Checkbox {
handleClick() {
this.checked = this.input.checked;
this.indeterminate = this.input.indeterminate;
this.indeterminate = false;
}
handleBlur() {