Skip to content

[Bug]: OverflowMenu with enable-v12-overflowmenu no longer passes props through to IconButton #22963

Description

@jonathan-nagel

Package

@carbon/react

Browser

No response

Package version

v1.113.0

React version

No response

Description

When the enable-v12-overflowmenu feature flag is enabled, OverflowMenu no longer forwards IconButton props to its trigger button.

Props that reach the trigger IconButton in the classic component but are ignored by the v12 version include for example: enterDelayMs, leaveDelayMs

It's unclear from the code whether that was intentional or an unintended side effect of the rewrite; I couldn't find an existing issue or migration note documenting it.

Reproduction/example

https://stackblitz.com/edit/github-jo88exyb?file=src%2FApp.jsx

Steps to reproduce

  1. Enable the enable-v12-overflowmenu feature flag (via <FeatureFlags> or global config).
  2. Render an OverflowMenu with enterDelayMs={1000} or leaveDelayMs={1000}.
  3. Hover the trigger button and observe the tooltip appears/hides with the default ~100ms timing — the delay props have no effect.

Suggested Severity

Medium (Severity 3) = User can complete task, and/or has a workaround within the user experience of a given component.

Project name

IBM Knowledge Catalog

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    Severity

    Medium

    Projects

    Status
    🕵️‍♀️ Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions