Skip to content

Commit af88bfd

Browse files
committed
.
1 parent 9539bcd commit af88bfd

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/components/OverflowList.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -230,17 +230,6 @@ const OverflowListComponent = React.memo(
230230
const finalRenderItemVisibility =
231231
renderItemVisibility ??
232232
((node, meta) => {
233-
// prefer react 19.2 new activity component to control the visibility of the item while don't forcing mount/unmount of the item
234-
// const Activity = React?.Activity;
235-
// if (Activity) {
236-
// return (
237-
// <Activity key={meta.index} mode={meta.visible ? "visible" : "hidden"}>
238-
// {node}
239-
// </Activity>
240-
// );
241-
// }
242-
243-
// below react 19.2, simply return null if the item is not visible
244233
if (!meta.visible) return null;
245234
return <React.Fragment key={meta.index}>{node}</React.Fragment>;
246235
});

0 commit comments

Comments
 (0)