From 628727fa5b288cf7baa3c9dbddfdcd888d603c9d Mon Sep 17 00:00:00 2001 From: the1812 Date: Wed, 9 Apr 2025 07:45:35 +0800 Subject: [PATCH] Improve pointer events for navbar popup (fix #5189) --- .../lib/components/style/custom-navbar/CustomNavbarItem.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/registry/lib/components/style/custom-navbar/CustomNavbarItem.vue b/registry/lib/components/style/custom-navbar/CustomNavbarItem.vue index 210eeeda7..b2cc8cfbb 100644 --- a/registry/lib/components/style/custom-navbar/CustomNavbarItem.vue +++ b/registry/lib/components/style/custom-navbar/CustomNavbarItem.vue @@ -171,6 +171,9 @@ export default Vue.extend({ @import 'common'; @keyframes navbar-popup-in { + 1% { + pointer-events: initial; + } to { pointer-events: initial; } @@ -304,7 +307,7 @@ export default Vue.extend({ .popup-container { top: 100%; > .popup { - animation: navbar-popup-in 0.2s ease-out 0.2s both; + animation: navbar-popup-in 0.2s ease-out 0.15s both; opacity: 1; } }