microsoft / microsoft/fluentui

[Bug]: The scrollbar cuts off chevrons in Contextual Menu when browser window is made smaller.

Open
#30,364 8 comments 0 reactions 1 assignee View on GitHub

@behowell is already working on this.

Since Mar 4, 2024.

Component: ContextualMenu Fluent UI react (v8) Resolution: Soft Close
Dominant language
TypeScript
Stars
20.3k
Forks
2.9k
Avg merge
2d 9h
Merged PRs (30d)
46

Description

Library

Fluent v8 (@fluentui/react)

System Info
C:\Windows\System32>npx envinfo --system --npmPackages '{@fluent/*}' --browsers
Need to install the following packages:
  envinfo@7.11.0
Ok to proceed? (y) y

  System:
    OS: Windows 11 10.0.22621
    CPU: (16) x64 Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
    Memory: 46.97 GB / 63.95 GB
  Browsers:
    Edge: Chromium (120.0.2210.121)
    Internet Explorer: 11.0.22621.1
Are you reporting Accessibility issue?

None

Reproduction

https://codepen.io/foodprison/pen/NWJXEqE

Bug Description

Actual Behavior

fill this out
Scrollbar on ContextualMenu with customized submenus cuts off the chevrons in the menu.
image
This becomes an issue for products that have larger contextmenus where the window size it takes to trigger the scrollbar is much larger than the example in the picture above.

Expected Behavior

fill this out
The scrollbar shouldn't cutoff the chevrons.

Logs

No response

Requested priority

High

Products/sites affected

Outlook Web Access

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.