Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: feature flag OverflowMenu adds focus on the close button when user clicks on the icon #16880

Open
2 tasks done
Gururajj77 opened this issue Jun 27, 2024 · 0 comments
Open
2 tasks done

Comments

@Gururajj77
Copy link
Contributor

Package

@carbon/react

Browser

Chrome

Package version

v11.60.0

React version

v18

Description

When inside a modal, the v12 OverflowMenu (feature flag enabled) focuses on the modal's close button when user clicks on the overflowmenu icon. This seems to be a bug only on the v12 as the OverflowMenu without feature flag enabled doesn't focus on the close button.

Reproduction/example

https://stackblitz.com/edit/github-rbge1w-xtdlws?file=src%2FApp.tsx

Steps to reproduce

  • Make sure the feature flag is enabled on the OverflowMenu ( use the stackblitz above)
  • click on the Hello World button
  • inside the modal, click on the overflowmenu icon, the menu opens up and you can see the modal's close button is focused.

Suggested Severity

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

Application/PAL

No response

Code of Conduct

@Gururajj77 Gururajj77 changed the title [Bug]: v12 OverflowMenu adds focus on the close button when user clicks on the icon [Bug]: feature flag OverflowMenu adds focus on the close button when user clicks on the icon Jun 27, 2024
@Gururajj77 Gururajj77 moved this to ⏱ Backlog in Design System Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ⏱ Backlog
Development

No branches or pull requests

1 participant