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

fix: Anchors stopped working under 4.10.0

Open pmi24 opened this issue 2 years ago • 4 comments

🐛 Bug Report

Anchors are not working under v4.10.0.

💻 Repro or Code Sample

Install NuGet Version 4.10.0 and run the Default example for the FluentMenu component: https://www.fluentui-blazor.net/Menu#default

🤔 Expected Behavior

After clicking the button a dropdown should appear next to the button.

😯 Current Behavior

No dropdown appears next to the button nor anywhere in the DOM.

💁 Possible Solution

🔦 Context

🌍 Your Environment

  • Windows 11
  • Microsoft Edge 128.0.2739.63 (64-Bit)
  • .NET 8.0 and FluentUI Blazor v. 4.10.0

pmi24 avatar Sep 16 '24 13:09 pmi24

Can you give us some more details? When I click on the "Open menu" button, the drop-down menu appears. peek_1

dvoituron avatar Sep 16 '24 13:09 dvoituron

The docs work fine for me too. Only when I create a blank project on my local machine and I copy and paste the example code it does not work. After downgrading FluentUI to v 4.9.3 it works again.

pmi24 avatar Sep 16 '24 13:09 pmi24

Do you have the new FluentMenuProvider included in your MainLayout page?

See https://github.com/microsoft/fluentui-blazor/pull/2649

dvoituron avatar Sep 16 '24 13:09 dvoituron

Yep, I missed that part. Now it works again, thanks for pointing out.

pmi24 avatar Sep 16 '24 13:09 pmi24