solid-dismiss
Advanced tools
Comparing version 1.5.7 to 1.5.8
@@ -54,2 +54,3 @@ import { untrack, createComputed, createSignal, children, batch, } from "solid-js"; | ||
function enterTransition(type, _el, prev) { | ||
// TODO: refactor this | ||
if (isExiting) { | ||
@@ -131,2 +132,3 @@ if (type === "content") { | ||
if (!e || e.target === prev) { | ||
isExiting = false; | ||
prev.removeEventListener("transitionend", endTransition); | ||
@@ -133,0 +135,0 @@ prev.removeEventListener("animationend", endTransition); |
{ | ||
"name": "solid-dismiss", | ||
"version": "1.5.7", | ||
"version": "1.5.8", | ||
"homepage": "https://aquaductape.github.io/solid-dismiss/", | ||
@@ -5,0 +5,0 @@ "description": "Handles \"click outside\" behavior for popup menu. Closing is triggered by click/focus outside of popup element or pressing \"Escape\" key.", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
341938
4628