From 6d88c9978261b6ec6b53ec12d8ce00eeebea4567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Klabbers?= Date: Wed, 4 Dec 2024 21:47:02 +0100 Subject: [PATCH] fix: typo in Dropdown.ts --- framework/core/js/src/common/components/Dropdown.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/js/src/common/components/Dropdown.tsx b/framework/core/js/src/common/components/Dropdown.tsx index 268159cc4b..899ac84126 100644 --- a/framework/core/js/src/common/components/Dropdown.tsx +++ b/framework/core/js/src/common/components/Dropdown.tsx @@ -93,12 +93,12 @@ export default class Dropdown windowSrollTop + windowHeight); + $menu.toggleClass('Dropdown-menu--top', top + height > windowScrollTop + windowHeight); if (($menu.offset()?.top || 0) < 0) { $menu.removeClass('Dropdown-menu--top');