We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53f81b8 commit dc0561eCopy full SHA for dc0561e
.changeset/fresh-jobs-brush.md
@@ -0,0 +1,5 @@
1
+---
2
+'@qwik-ui/headless': patch
3
4
+
5
+fix: Modal.Close now of type button
packages/kit-headless/src/components/modal/modal-close.tsx
@@ -9,7 +9,7 @@ export const HModalClose = component$((props: PropsOf<'button'>) => {
9
});
10
11
return (
12
- <button onClick$={[handleClick$, props.onClick$]} {...props}>
+ <button type="button" onClick$={[handleClick$, props.onClick$]} {...props}>
13
<Slot />
14
</button>
15
);
0 commit comments