solid-dismiss
Advanced tools
Comparing version 1.6.74 to 1.6.75
@@ -122,3 +122,3 @@ import { isServer } from "solid-js/web"; | ||
el.style.width = "100%"; | ||
el.style.height = "calc(100% + 65px)"; | ||
el.style.height = "calc(100% + 100px)"; | ||
el.style.zIndex = "1000"; | ||
@@ -125,0 +125,0 @@ if (typeof overlayElement === "object" && overlayElement.ref) { |
{ | ||
"name": "solid-dismiss", | ||
"version": "1.6.74", | ||
"version": "1.6.75", | ||
"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.", |
@@ -116,3 +116,3 @@ <p> | ||
extend the overlay's height (that has the value of viewport height either 100% or 100vh) by 65px or more. What happens is that on mobile devices, there's a lag of updating viewport dimensions when dynamic URL bar toggles, therefore showing a large gap at bottom of the page that the overlay doesn't cover. So the overlay's height should be `calc(100vh + 65px)` or `calc(100% + 65px)`, depending how you style the overlay, tailwind equivalent would be `h-[calc(100vh+65px)]`. | ||
extend the overlay's height (that has the value of viewport height either 100% or 100vh) by 100px or more. What happens is that on mobile devices, there's a lag of updating viewport dimensions when dynamic URL bar toggles, therefore showing a large gap at bottom of the page that the overlay doesn't cover. So the overlay's height should be `calc(100vh + 100px)` or `calc(100% + 100px)`, depending how you style the overlay, tailwind equivalent would be `h-[calc(100vh+100px)]`. | ||
@@ -119,0 +119,0 @@ ```js |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
352477