fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Bug]: DialogContent scrollbar always visible.

Open ParadimeWeb opened this issue 3 years ago • 4 comments

Library

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

System Info

System:
    OS: Windows 10 10.0.19042
    CPU: (8) x64 Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz
    Memory: 7.73 GB / 15.67 GB
  Browsers:
    Chrome: 111.0.5563.111
    Edge: Spartan (44.19041.1266.0), Chromium (111.0.1661.54)
    Internet Explorer: 11.0.19041.1566

Are you reporting Accessibility issue?

None

Reproduction

https://react.fluentui.dev/?path=/docs/components-dialog--default

Bug Description

Actual Behavior

The scroll bar is always visible image

Expected Behavior

The scroll bar should not be visible if there is enough room.

Logs

No response

Requested priority

Normal

Products/sites affected

@fluentui/react-dialog

Are you willing to submit a PR to fix?

yes

Validations

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

ParadimeWeb avatar Mar 27 '23 21:03 ParadimeWeb

Seems like caused by these minus margin styles... Screenshot 2023-03-28 at 0 12 23

ozluy avatar Mar 27 '23 22:03 ozluy

Can confirm that I have the same issue. Scrollbars suddenly appearing in my dialogs.

Happened when upgrading dialog dependency from 9.3.1 to 9.4.2.

lekoaf avatar Mar 28 '23 12:03 lekoaf

Most likely caused by https://github.com/microsoft/fluentui/pull/27248 @bsunderhus fyi

george-cz avatar Mar 28 '23 12:03 george-cz

Yeah, it's a regretion from #27248 , I'll look into it!

bsunderhus avatar Mar 29 '23 15:03 bsunderhus