{@html styles} { if (buttonRef && buttonRef.contains(target)) { return; } if (menuRef && !menuRef.contains(target)) { open = false; } }} />