Correctly pass down dropdownObject...

This commit is contained in:
Henrik Giesel 2021-09-15 16:16:42 +02:00
parent 7c6f6533c1
commit ce9674f824
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
dropdown.show(); dropdown.show();
} }
let api = { api = {
show: dropdown.show.bind(dropdown), show: dropdown.show.bind(dropdown),
toggle: dropdown.toggle.bind(dropdown), toggle: dropdown.toggle.bind(dropdown),
hide: dropdown.hide.bind(dropdown), hide: dropdown.hide.bind(dropdown),

View file

@ -135,7 +135,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
{#if sheet} {#if sheet}
<WithDropdown <WithDropdown
placement="bottom" drop="down"
autoOpen={true} autoOpen={true}
autoClose={false} autoClose={false}
let:createDropdown let:createDropdown