Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: group menu going under the list items

thecodrr988432f5923f
diff --git a/apps/web/src/components/list-container/index.js b/apps/web/src/components/list-container/index.js
index 9d394df70..5743d59f5 100644
--- a/apps/web/src/components/list-container/index.js
+++ b/apps/web/src/components/list-container/index.js
@@ -83,7 +83,10 @@ function ListContainer(props) {
return (
<div
key={item.id || item.title}
- style={{ ...style, zIndex: 1 }}
+ style={{
+ ...style,
+ zIndex: item.type === "header" ? 2 : 1,
+ }}
>
{item.type === "header" ? (
<GroupHeader