Skip to content

Commit

Permalink
upgrade melt for select portal bug fix (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Aug 27, 2023
1 parent 49ed5e9 commit af9a922
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/cool-dryers-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bits-ui": patch
---

- Upgrade Melt UI to resolve `Select` portal bug
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"types": "./dist/index.d.ts",
"type": "module",
"dependencies": {
"@melt-ui/svelte": "0.39.1",
"@melt-ui/svelte": "0.39.3",
"nanoid": "^4.0.2"
},
"peerDependencies": {
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/components/demos/menubar-demo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
<Menubar.Menu>
<Menubar.Trigger>File</Menubar.Trigger>
<Menubar.Content>
<Menubar.Item>New Tab</Menubar.Item>
<Menubar.Item
on:click={() => console.log("click")}
on:pointerdown={() => console.log("pointerdown")}>New Tab</Menubar.Item
>
<Menubar.Item>New Window</Menubar.Item>
<Menubar.Item>New Incognito Window</Menubar.Item>
<Menubar.Separator />
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/menubar/menubar-item.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
className
)}
{...$$restProps}
on:click
on:focusin
on:focusout
on:keydown
Expand Down

0 comments on commit af9a922

Please sign in to comment.