diff --git a/libs/blocks/global-navigation/global-navigation.css b/libs/blocks/global-navigation/global-navigation.css index ca62e345ec4..2cdb92bc4ce 100644 --- a/libs/blocks/global-navigation/global-navigation.css +++ b/libs/blocks/global-navigation/global-navigation.css @@ -7,7 +7,7 @@ text-decoration: none; } -.global-navigation button:not(.feds-client-desktop-apps button, .feds-client-plans-cta button) { +.global-navigation button:not(.feds-client-desktop-apps button, .feds-client-plans-cta button, .feds-bc-wrapper button) { background: none; cursor: pointer; } diff --git a/libs/blocks/global-navigation/utilities/keyboard/index.js b/libs/blocks/global-navigation/utilities/keyboard/index.js index 5674a5ee0de..f68d4d67234 100644 --- a/libs/blocks/global-navigation/utilities/keyboard/index.js +++ b/libs/blocks/global-navigation/utilities/keyboard/index.js @@ -160,7 +160,9 @@ class KeyboardNavigation { } case 'Enter': case 'Space': { - if (e.target.closest(selectors.searchField) || e.target.closest('.feds-client-search')) return; + if (e.target.closest(selectors.searchField) + || e.target.closest('.feds-client-search') + || e.target.matches('input, textarea, select, [contenteditable]')) return; e.stopPropagation(); e.preventDefault(); e.target.click();