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]: Dropdown scrollbar click issue inside Modal #16485

Open
2 tasks done
kironvk opened this issue May 16, 2024 · 1 comment
Open
2 tasks done

[Bug]: Dropdown scrollbar click issue inside Modal #16485

kironvk opened this issue May 16, 2024 · 1 comment
Labels
role: dev 🤖 severity: 3 User can complete task, and/or has a workaround type: bug 🐛

Comments

@kironvk
Copy link

kironvk commented May 16, 2024

Package

@carbon/react

Browser

Chrome

Package version

1.53.1

React version

18.2.0

Description

When we try to scroll the dropdown list by clicking the scroll bar, dropdown list getting dismissed. This issue happens only when dropdown placed inside a Modal. Otherwise there is no issue with dropdown scrollbar.

Reproduction/example

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

Steps to reproduce

Create a Modal. Place a dropdown component inside the Modal. Click on the scrollbar of dropdown list. Not able to scroll and the dropdown list will get closed automatically.

Suggested Severity

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

Application/PAL

IBM Open pages

Code of Conduct

@2nikhiltom
Copy link
Contributor

Can reproduce on Package version : 1.57.0 as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
role: dev 🤖 severity: 3 User can complete task, and/or has a workaround type: bug 🐛
Projects
Status: ⏱ Backlog
Development

No branches or pull requests

2 participants