Skip to content

[Bug]: OverflowMenu enters update loop and crashes UI on viewport resize #22276

@adamalston

Description

@adamalston

Package

@carbon/react

Browser

Firefox, Edge

Package version

1.107.1

React version

v19.x

Description

Opening an OverflowMenu and resizing the viewport causes the UI to crash.

OverflowMenu components within tables are also causing crashes when opened, even without viewport resizing.

I've reproduced the crashes in both Firefox and Edge.

Reproduction/example

https://stackblitz.com/edit/github-sbv8fa33-6frvkzms

Steps to reproduce

  1. Go to the reproduction link.
  2. Open the Help OverflowMenu.
  3. Repeatedly narrow and expand the viewport to reproduce the crash.
sandboxed-crash.mov

Suggested Severity

Severity 2 = User cannot complete task, and/or no workaround within the user experience of a given component.

Application/PAL

DataPower

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions