@civicactions/cmsds-open-data-components 3.5.0-alpha.1 → 3.5.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -4244,7 +4244,7 @@ const $b9af6ce5e2c06331$var$Header = (props)=>{
|
|
|
4244
4244
|
}
|
|
4245
4245
|
}
|
|
4246
4246
|
const trapFocus = (event)=>{
|
|
4247
|
-
if (menu.current) {
|
|
4247
|
+
if (menu.current && mobileMenuOpen) {
|
|
4248
4248
|
const focusableEls = getFocusableElements(menu.current).selectors.visible;
|
|
4249
4249
|
const firstEl = focusableEls[0];
|
|
4250
4250
|
const lastEl = focusableEls[focusableEls.length - 1];
|