fluentui-blazor icon indicating copy to clipboard operation
fluentui-blazor copied to clipboard

Setting height on Dialog gets overriden.

Open Rocky-25 opened this issue 3 years ago • 2 comments

🐛 Bug Report

When setting the height on a dialog and having the alignment set to Center the height property is overridden with height:auto.

💻 Repro or Code Sample

          IDialogReference dialog = await DialogService.ShowDialogAsync(typeof(SearchDialog<T>), request, new DialogParameters()
          {
              Title = ModalTitle ?? "Search",
              Alignment = HorizontalAlignment.Center,
              Width = "90vw",
              Height = "90vh"
          });

🤔 Expected Behavior

Should be set to the height requested.

😯 Current Behavior

Is set to auto.

image

Rocky-25 avatar Nov 03 '23 09:11 Rocky-25

Hi,

I'm have a bit of trouble getting this reproduced. Can you post a working minimal reproduction sample? Also, what version are you seeing this with?

vnbaaij avatar Nov 03 '23 14:11 vnbaaij

This is using 3.2.2. I'll try to generate a minimal repo.

Rocky-25 avatar Nov 03 '23 15:11 Rocky-25