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 menu should overlay Modal #9766

Closed
1 of 2 tasks
alissa9090 opened this issue Sep 29, 2021 · 2 comments
Closed
1 of 2 tasks

[Bug]: Dropdown menu should overlay Modal #9766

alissa9090 opened this issue Sep 29, 2021 · 2 comments

Comments

@alissa9090
Copy link
Contributor

alissa9090 commented Sep 29, 2021

Package

carbon-components-react

Browser

Chrome

Package version

7.43.0

Description

I think that would be cool if dropdown menu will overflow modal so that you don't have to scroll to see the menu.

.bx--modal-container, bx--modal-content { overflow: visible; } helps to solve the problem for modal that don't have scrolling content.

But I cannot find a good solution for the case when you do have scrolling content (like in my example in codesandbox).

That's how it looks now
Screenshot 2021-09-29 at 10 52 33

That's how it should look like
Screenshot 2021-09-29 at 10 56 43

CodeSandbox example

https://codesandbox.io/s/epic-cookies-emg02?file=/src/index.js

Steps to reproduce

  1. Create a modal
  2. Create dropdown inside modal body
  3. Click on dropdown to open menu

Code of Conduct

@alissa9090
Copy link
Contributor Author

Looks like a duplication of #9732

@dakahn
Copy link
Contributor

dakahn commented Oct 4, 2021

closing as a dupe #9732 👍🏾

@dakahn dakahn closed this as completed Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants