Skip to content

Commit

Permalink
Update package-lock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Jul 17, 2022
1 parent 274d5c5 commit 1438d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/module.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -30947,7 +30947,7 @@ function src_default(Alpine) {
Alpine.directive("float", (panel2, {modifiers, expression}, {evaluate}) => {
const settings = expression ? evaluate(expression) : {};
const config = modifiers.length > 0 ? buildDirectiveConfigFromModifiers(modifiers, settings) : {};
const clickAway = (event) => !panel2.parentElement.closest("[x-data]").contains(event.target) ? panel2.close() : null;
const clickAway = (event) => panel2.parentElement && !panel2.parentElement.closest("[x-data]").contains(event.target) ? panel2.close() : null;
const keyEscape = (event) => event.key === "Escape" ? panel2.close() : null;
async function update() {
return await computePosition2(panel2.trigger, panel2, config.float).then(({middlewareData, placement, x, y}) => {
Expand Down

0 comments on commit 1438d91

Please sign in to comment.