Skip to content

[bug]: Megadropdown animation when one dropdown is already open #6576

@gfellerph

Description

@gfellerph

🐞 Describe the bug

When switching from one megadropdown to the other, there should be no animation. Only when there is no open megadropdown, there should be the opening animation and when no new megadropdown opens, there should be a closing animation. This seems to be a regression and makes using the megadropdown more nervous and visually distracting than it needs to be.

🛠️ To Reproduce

Screen.Recording.2025-11-03.at.14.02.19.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    HeaderEverything related to our composible header components🐞 bugSomething isn't working📦 componentsRelated to the @swisspost/design-system-components package

    Type

    Projects

    Status

    🆗 Ready

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions