Skip to content

Commit b2b7fd7

Browse files
committed
IMP: showcase nested dialogs
1 parent 4c1a490 commit b2b7fd7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118
<dialog
119119
x-show="openModal"
120120
x-htmldialog.noscroll="openModal = false"
121-
closeby="none"
122121
>
123122
<div class="dialog-header flex gap align">
124123
<span style="font-size: var(--font-size-fluid-2)"
@@ -142,6 +141,12 @@
142141
<div class="field flex-wrap gap">
143142
<button type="reset">Reset</button>
144143
<button type="submit">Submit</button>
144+
<button
145+
type="button"
146+
@click="openOffcanvas = !openOffcanvas"
147+
>
148+
Open offcanvas
149+
</button>
145150
</div>
146151
</form>
147152
<p>

0 commit comments

Comments
 (0)