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

Dropdown/Multiselect: Element within parent #5318

Closed
2 tasks done
JordanWSmith15 opened this issue Feb 11, 2020 · 5 comments · Fixed by #9120
Closed
2 tasks done

Dropdown/Multiselect: Element within parent #5318

JordanWSmith15 opened this issue Feb 11, 2020 · 5 comments · Fixed by #9120

Comments

@JordanWSmith15
Copy link

JordanWSmith15 commented Feb 11, 2020

What package(s) are you using?

Carbon React, current version

  • carbon-components
  • carbon-components-react

Detailed description

Gif of issue
Untitled
You can also see this occurring on the on the Carbon Design site itself, https://www.carbondesignsystem.com/components/dropdown/code
dropdown

Is this issue related to a specific component?
Multi-select, dropdown
What did you expect to happen? What happened instead? What would you like to
see changed?
Dropdown menus should not cause internal scrolls within their containers, but instead, appear on top of anything below them
What browser are you working in?
Chrome, Safari, Firefox
What version of the Carbon Design System are you using?
Current
What offering/product do you work on? Any pressing ship or release dates we
should be aware of?
Maximo

@JordanWSmith15 JordanWSmith15 changed the title Dropdown/Multiselect: Z-index issue Dropdown/Multiselect: Element within parent Feb 11, 2020
@tw15egan
Copy link
Collaborator

You should be able to override the overflow-y: auto on .bx--modal-content as well as the overflow: hidden on bx--modal-container. Unsure if unsetting this on our end will have unintended consequences, but should resolve your situation.

@JordanWSmith15
Copy link
Author

JordanWSmith15 commented Feb 12, 2020

@tw15egan I'm a UX designer, not a developer, but I wanted to report this on behalf of my dev team. I guess I'm concerned that we need more of a "global" fix to this problem. The example in the Carbon Design System site, for example, wouldn't be fixed that way.

@abbeyhrt
Copy link
Contributor

Talked with design about this problem and they agree that the dropdown should open on top of anything below them. There is also another issue tracking allowing the dropdowns to open up instead of down #4686

@JordanWSmith15
Copy link
Author

Seems that the ability to open the combobox upwards is implemented, but not for the Filterable version, which is the one my product uses, so this issue is still valid. Any updates?

@tw15egan
Copy link
Collaborator

tw15egan commented Jul 6, 2021

Good catch @JordanWSmith15, will add that in now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants