solid-dismiss
Advanced tools
Comparing version 1.5.3 to 1.5.4
@@ -282,4 +282,4 @@ import { isServer } from "solid-js/web"; | ||
} | ||
// if (mount) return marker; | ||
// if (show) return render(props.children); | ||
if (show) | ||
return render(props.children); | ||
// basically <Show> | ||
@@ -286,0 +286,0 @@ // why custom Show?? |
{ | ||
"name": "solid-dismiss", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"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.", |
@@ -8,3 +8,3 @@ <p> | ||
<img src="https://img.shields.io/badge/size%20(gzip)-~7kb-brightgreen" alt="size of package gzip" /> | ||
[![size](https://img.shields.io/bundlephobia/minzip/solid-dismiss?style=for-the-badge&label=size)](https://bundlephobia.com/package/solid-dismiss) | ||
@@ -23,2 +23,6 @@ Handles "click outside" behavior for popup menu. Closing is triggered by click/focus outside of popup element or pressing "Escape" key. It can also deal with stacks/layers of popups. | ||
``` | ||
pnpm add solid-dismiss | ||
``` | ||
## Example | ||
@@ -25,0 +29,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
342385
392
4630