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]: Overlay DrawerBody scroll bar is hidden when the main View already has a scrollbar #33720

Open
2 tasks done
KarlsonxD opened this issue Jan 24, 2025 · 0 comments
Open
2 tasks done

Comments

@KarlsonxD
Copy link

Component

Drawer

Package version

9.53.0

React version

18.3.1

Environment

System:
    OS: Windows 10 10.0.19045
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12800H
    Memory: 6.24 GB / 31.69 GB
  Browsers:
    Edge: Spartan

Current Behavior

Drawer Scrollbar is hidden when the Main Website View already has a scrollbar, but when the main view doesn't have a scrollbar and the drawer body content is long enough, a scrollbar is automatically shown in the Drawer.

Expected Behavior

Always show a Drawer Scrollbar when the content is long enough to scroll. Not only when the drawer content is scrollable and the main Website View has no scroll bar.

Reproduction

https://stackblitz.com/edit/2gydwh-t95q8t19?file=src%2Fexample.tsx

Steps to reproduce

fluentui_overlay_drawer_scroll_bug.mp4

Are you reporting an Accessibility issue?

None

Suggested severity

Urgent - No workaround and Products/sites are affected

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.
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

3 participants