From 981f363900eed535359f6cbd25f34dd2af61f5b3 Mon Sep 17 00:00:00 2001 From: "Soare Robert Daniel (Mac 2023)" Date: Wed, 6 Dec 2023 15:24:33 +0200 Subject: [PATCH] fix: point event exception for sidebar search icon --- inc/views/nav_walker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/views/nav_walker.php b/inc/views/nav_walker.php index 76aaf5f50f..54f4ddbcdb 100644 --- a/inc/views/nav_walker.php +++ b/inc/views/nav_walker.php @@ -226,7 +226,7 @@ public function get_sidebar_and_accessibility_style() { $sidebar_animation_css .= '.is-menu-sidebar.menu_sidebar_dropdown .header-menu-sidebar { height: auto; }'; $sidebar_animation_css .= '.is-menu-sidebar.menu_sidebar_dropdown .header-menu-sidebar-inner { max-height: 400px; padding: 20px 0; }'; $sidebar_animation_css .= '.is-menu-sidebar.menu_sidebar_full_canvas .header-menu-sidebar { opacity: 1; }'; - $sidebar_animation_css .= '.header-menu-sidebar .menu-item-nav-search { pointer-events: none; }'; + $sidebar_animation_css .= '.header-menu-sidebar .menu-item-nav-search:not(.floating) { pointer-events: none; }'; $sidebar_animation_css .= '.header-menu-sidebar .menu-item-nav-search .is-menu-sidebar & { pointer-events: unset; }'; /* Accessibility css. */ $accessibility_caret_css = '.nav-ul li:focus-within .wrap.active + .sub-menu { opacity: 1; visibility: visible; }';