We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b5f70 commit 605c8c1Copy full SHA for 605c8c1
src/components/OverflowList.tsx
@@ -230,17 +230,6 @@ const OverflowListComponent = React.memo(
230
const finalRenderItemVisibility =
231
renderItemVisibility ??
232
((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
244
if (!meta.visible) return null;
245
return <React.Fragment key={meta.index}>{node}</React.Fragment>;
246
});
0 commit comments