diff --git a/src/react/ListItem.tsx b/src/react/ListItem.tsx index ea70ac2a..513eea95 100644 --- a/src/react/ListItem.tsx +++ b/src/react/ListItem.tsx @@ -57,7 +57,7 @@ export const ListItem = memo( style.display = "flex"; } return style; - }, [offset, hide, isSSR]); + }, [offset, hide, isSSR, isHorizontal]); if (typeof Element === "string") { return (