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 2b71423 commit 8373309Copy full SHA for 8373309
src/dialog.js
@@ -10,7 +10,9 @@ export default function (Alpine) {
10
? evaluateLater(expression)
11
: () => {};
12
const lockPageScroll = modifiers.includes("noscroll");
13
- const closeby = modifierValue(modifiers, "closeby", "any");
+ const closeBy = el.hasAttribute("closeby")
14
+ ? el.getAttribute("closeby")
15
+ : modifierValue(modifiers, "closeby", "closerequest");
16
17
// Remove any logic set by `x-show`
18
el.style.display = null;
0 commit comments