carbon-design-system / carbon-design-kit

A versioned, comprehensive kit of the Carbon Design System visual assets (components, icons, pictograms, text styles, color styles, grid templates).
Apache License 2.0
1.07k stars 153 forks source link

[Dropdown]: Menu item bug on hover #862

Closed benjamin-kurien closed 1 month ago

benjamin-kurien commented 2 months ago

Detailed description

Dropdown menu item has a move in from left transition, on hover which appears to be unintentional This issue occurs only on the "small" variant for the dropdown menu "size" property.

Carbon Design System Kit version: V11

https://github.com/user-attachments/assets/ffaf3a75-c5c7-4010-b3ce-d41968cdaf25

Steps to reproduce the issue

  1. Add a dropdown instance on a figma file
  2. Change the the menu size property to small
  3. View prototype
  4. Hover on the menu item

Additional information

The dropdown menu seems to have a "move in from left" transition added on hover. Removing this transition could solve the issue.

dropdown menu bug

alina-jacob commented 1 month ago

Duplicate issue: https://github.com/carbon-design-system/carbon-design-kit/issues/797