This commit is contained in:
garkey 2022-01-18 14:38:11 +00:00 committed by GitHub
commit 911a3f655e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,7 +176,9 @@
{inline && 'bx--dropdown--inline'} {inline && 'bx--dropdown--inline'}
{disabled && 'bx--dropdown--disabled'} {disabled && 'bx--dropdown--disabled'}
{light && 'bx--dropdown--light'}" {light && 'bx--dropdown--light'}"
on:click="{({ target }) => { on:click="{(e) => {
e.stopImmediatePropagation();
const { target } = e;
open = ref.contains(target) ? !open : false; open = ref.contains(target) ? !open : false;
}}" }}"
disabled="{disabled}" disabled="{disabled}"