Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: no forward zIndex

lawvs72868bec31f9
diff --git a/libs/components/ui/src/popper/Popper.tsx b/libs/components/ui/src/popper/Popper.tsx
index 0a6e00747c..924e3be8fd 100644
--- a/libs/components/ui/src/popper/Popper.tsx
+++ b/libs/components/ui/src/popper/Popper.tsx
@@ -171,7 +171,9 @@ const Container = styled('div')({
display: 'contents',
});
-const BasicStyledPopper = styled(PopperUnstyled)<{
+const BasicStyledPopper = styled(PopperUnstyled, {
+ shouldForwardProp: propName => !['zIndex'].some(name => name === propName),
+})<{
zIndex?: number;
}>(({ zIndex, theme }) => {
return {