Skip to content

Commit 6da7689

Browse files
committed
Also revert adding |local for Menu as it breaks ToggleButton usage (issue #51)
1 parent 2ede3f9 commit 6da7689

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/components/Menu.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
on:close
5959
let:close
6060
>
61+
<!-- TODO: Add `|local` to transition without breaking `ToggleButton` usage: https://github.com/techniq/svelte-ux/issues/51 -->
6162
<!-- svelte-ignore a11y-click-events-have-key-events -->
6263
<menu
6364
class="menu-items outline-none max-h-screen"
@@ -67,7 +68,7 @@
6768
// Do not allow event to reach Popover's on:mouseup (clickOutside)
6869
e.stopPropagation();
6970
}}
70-
transition:transition|local={transitionParams}
71+
transition:transition={transitionParams}
7172
use:focusMove={{ disabled: !moveFocus }}
7273
>
7374
<slot {close} />

0 commit comments

Comments
 (0)