fix(Dropdown): the ListBox element was selectable in disabled state if extended Dropdown

This commit is contained in:
István Pató 2022-01-18 13:55:34 +01:00
commit 779be084c9
No known key found for this signature in database
GPG key ID: 3A842123BFF8E969

View file

@ -176,6 +176,7 @@
{disabled && 'bx--dropdown--disabled'}
{light && 'bx--dropdown--light'}"
on:click="{({ target }) => {
if (disabled) return;
open = ref.contains(target) ? !open : false;
}}"
disabled="{disabled}"