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> in <Dialog> renders the dropdown box too long #27486

Closed
2 tasks done
chenxinyanc opened this issue Apr 7, 2023 · 2 comments · Fixed by #27521
Closed
2 tasks done

[Bug]: <Dropdown> in <Dialog> renders the dropdown box too long #27486

chenxinyanc opened this issue Apr 7, 2023 · 2 comments · Fixed by #27521

Comments

@chenxinyanc
Copy link
Contributor

Library

React Components / v9 (@fluentui/react-components)

System Info

(Using CodeSandbox)

"@fluentui/react-components": "9.18.6"

Are you reporting Accessibility issue?

no

Reproduction

https://codesandbox.io/s/dropdown-dialog-long-list-5iwjsr

Bug Description

Actual Behavior

Dropdown box inside the Dialog seems to get extended over the top of the web view. There is no vertical scrollbar.

image

Expected Behavior

Dropdown box outside the Dialog chooses a suitable height and I can scroll through the items with vertical scrollbar.

image

Logs

No response

Requested priority

High

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
@adamma1024
Copy link

adamma1024 commented Apr 7, 2023

I got this issue as well. Looks like it didn't consider the current position while calculating the max-height

@sumitshinde-84
Copy link

I would like to work on this issue, can you please assign it to me?

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

Successfully merging a pull request may close this issue.

5 participants