designsystemet icon indicating copy to clipboard operation
designsystemet copied to clipboard

Sync-issue when using the open-prop in Dropdown-component

Open hansenalexander opened this issue 4 months ago • 0 comments

Description of the bug

There's a sync-issue when using the open-prop in the dropdown-component. When trying to open the dropdown it won't render it as open the first time it's clicked. When attempting to click again the dropdown renders as open while it should be closed.

Steps To Reproduce

Go to: https://next.storybook.designsystemet.no/?path=/docs/komponenter-dropdown--docs#kontrollert Copy - paste example. Try opening the dropdown.

Additional Information

No response

hansenalexander avatar Sep 30 '24 07:09 hansenalexander