pull/411/head
Cory LaViska 2021-04-07 10:01:31 -04:00
rodzic c2314e9871
commit 0b4dc3f6a8
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -13,6 +13,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
- Fixed a bug in `sl-tooltip` where events weren't properly cleaned up on disconnect
- Fixed a bug in `sl-tooltip` where they wouldn't display after toggling `disabled` off and on again [#391](https://github.com/shoelace-style/shoelace/issues/391)
- Fixed a bug in `sl-details` where `show()` and `hide()` would toggle the control when disabled
- Fixed a bug in `sl-color-picker` where setting `value` wouldn't update the control
- Fixed incorrect event names for `sl-after-show` and `sl-after-hide` in `sl-details`
- Improved a11y for disabled buttons that are rendered as links
- Improved a11y for `sl-button-group` by adding the correct `role` attribute

Wyświetl plik

@ -570,7 +570,7 @@ export default class SlColorPicker extends LitElement {
}
@watch('value')
handleValueChange(newValue: string, oldValue: string) {
handleValueChange(oldValue: string, newValue: string) {
if (!this.bypassValueParse) {
const newColor = this.parseColor(newValue);