mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
mobile: fix items hides behind selection bar
This commit is contained in:
committed by
Abdullah Atta
parent
1fe4ae199f
commit
3dba3079f7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user