Skip to content

Commit 5fda111

Browse files
actually add bubbles to event
not to the event details!
1 parent 22e0f4e commit 5fda111

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "svelte-headlessui",
33
"description": "HeadlessUI components for Svelte",
4-
"version": "0.0.40",
4+
"version": "0.0.41",
55
"type": "module",
66
"keywords": [
77
"svelte",

src/lib/internal/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ export const raiseChangeOnSelect =
5959
const event = new CustomEvent('change', {
6060
detail: {
6161
selected,
62-
bubbles: true,
6362
},
63+
bubbles: true,
6464
})
6565
node.dispatchEvent(event)
6666
})

0 commit comments

Comments
 (0)