Describe the bug
When using overflow-menu--md-no-responsive on a overflow-menu it does not close the overflow menu like I would expect. Instead you are in need to click on the dropdown again. Is this expected behaviour or not? If it is expected, why should it not close?
Describe the bug When using
overflow-menu--md-no-responsive
on aoverflow-menu
it does not close the overflow menu like I would expect. Instead you are in need to click on the dropdown again. Is this expected behaviour or not? If it is expected, why should it not close?To Reproduce Steps to reproduce the behavior:
Screenshots
(left image without and right image with
overflow-menu--md-no-responsive
)Additional context The issue arise from these lines of code, seen below. https://github.com/detfaellesdesignsystem/dkfds-components/blob/8cd34be95c7a40467b4adba8c325f11652f11b60/src/js/components/dropdown.js#L307-L309 However, I am not sure what this code does and effect other part of the system, other than it will stop proceeding to closing the dropdown. https://github.com/detfaellesdesignsystem/dkfds-components/blob/8cd34be95c7a40467b4adba8c325f11652f11b60/src/js/components/dropdown.js#L282-L283