designsystemet
designsystemet copied to clipboard
Sync-issue when using the open-prop in Dropdown-component
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