-
Notifications
You must be signed in to change notification settings - Fork 459
Closed
Labels
closed:doneWork is finishedWork is finishedcommunity:contributionIssue will/can be addressed by community contributionIssue will/can be addressed by community contribution
Description
🐛 Bug Report
Arbitrary attributes are not accepted on the FluentMenuButton component, which prevents usage with attributes sometimes used on other components (e.g., slot).
💻 Repro or Code Sample
<FluentToolbar>
<FluentMenuButton Text="Menu button" slot="end" />
</FluentToolbar>🤔 Expected Behavior
In the repro above, the menu button should be justified against the right side of the toolbar.
😯 Current Behavior
The menu button is not justified against the right side of the toolbar, and does not have the slot="end" attribute applied to the element when inspected in the browser.
💁 Possible Solution
Apply @attributes=AdditionalAttributes to the menu button's container like done in other components.
🔦 Context
Trying to use the menu button component in the toolbar component at the "end" slot.
🌍 Your Environment
- OS & Device: Windows 11 on PC
- Browser: Microsoft Edge
- .NET 9 and Fluent UI Blazor library Version 4.11.7
Metadata
Metadata
Assignees
Labels
closed:doneWork is finishedWork is finishedcommunity:contributionIssue will/can be addressed by community contributionIssue will/can be addressed by community contribution