@nodestrap/navbar
Advanced tools
Comparing version 4.0.5 to 4.0.6
@@ -746,7 +746,6 @@ // react: | ||
const handleClick = (e) => { | ||
if (!e.defaultPrevented) { | ||
if (isActive) { | ||
setActive(false); | ||
e.preventDefault(); | ||
} // if | ||
/* always close the menu even if `defaultPrevented` */ | ||
if (isActive) { | ||
setActive(false); | ||
e.preventDefault(); | ||
} // if | ||
@@ -753,0 +752,0 @@ }; |
{ | ||
"name": "@nodestrap/navbar", | ||
"version": "4.0.5", | ||
"version": "4.0.6", | ||
"description": "A responsive navigation header. Supports for branding, navigation and more.", | ||
@@ -47,3 +47,3 @@ "type": "module", | ||
"@nodestrap/indicator": "^4.0.3", | ||
"@nodestrap/nav-button": "^4.0.7", | ||
"@nodestrap/nav-button": "^4.0.8", | ||
"@nodestrap/toggler-menu-button": "^4.0.2", | ||
@@ -50,0 +50,0 @@ "@nodestrap/utilities": "^4.0.1", |
Sorry, the diff of this file is not supported yet
90083
1961
Updated@nodestrap/nav-button@^4.0.8