| title | Migration FluentOverflow |
|---|---|
| route | /Migration/Overflow |
| hidden | true |
FluentOverflow now wraps a <fluent-overflow> web component. Overflow calculation
and resize are handled there, with Blazor receiving overflow state updates.
- The old dedicated overflow item component is removed.
- Overflow now works with direct children of
FluentOverflow. - Per-item behavior is expressed with HTML attributes on the child element (for example
fixed="fixed"orfixed="ellipsis").
Selector— CSS selector for direct children to include in overflow handling.MaxRenderedItems(int, default25) — limits the number of overflow items returned in the payload (<= 0means unlimited).StoreOverflowInMemory(bool) — keeps overflow payload items in JavaScript memory.
FluentOverflowItemcomponent — removed; use direct child content instead.OverflowItemFixedenum — removed; use the childfixedattribute values instead.
<!-- V4 -->
<FluentOverflow>
<FluentOverflowItem Text="Pinned" Fixed="OverflowItemFixed.Fixed" />
<FluentOverflowItem Text="Blazor" />
<FluentOverflowItem Text="Microsoft" />
</FluentOverflow>
<!-- V5 -->
<FluentOverflow>
<div fixed="fixed">Pinned</div>
<div>Blazor</div>
<div>Microsoft</div>
</FluentOverflow>