Skip to content

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

mobile: fix items hides behind selection bar

Ammar Ahmed3dba3079f729
diff --git a/apps/mobile/app/components/list/index.tsx b/apps/mobile/app/components/list/index.tsx
index 6229a0d06..6395dd3d7 100644
--- a/apps/mobile/app/components/list/index.tsx
+++ b/apps/mobile/app/components/list/index.tsx
@@ -38,6 +38,7 @@ import { fluidTabsRef } from "../../utils/global-refs";
import { Header } from "../list-items/headers/header";
import { Empty, PlaceholderData } from "./empty";
import { ListItemWrapper } from "./list-item.wrapper";
+import { useSelectionStore } from "../../stores/use-selection-store";
type ListProps = {
data: VirtualizedGrouping<Item> | undefined;
@@ -188,6 +189,11 @@ export default function List(props: ListProps) {
directionalLockEnabled={true}
keyboardShouldPersistTaps="always"
keyboardDismissMode="interactive"
+ ListFooterComponent={
+ <View
+ style={{ height: props.data?.placeholders?.length ? 100 : 0 }}
+ />
+ }
refreshControl={
props.isRenderedInActionSheet ? null : (
<RefreshControl