add support for floating keyboard on iPad

This commit is contained in:
ammarahm-ed
2021-04-21 12:30:58 +05:00
parent 5d540106c7
commit 8674d8ace8
8 changed files with 196 additions and 155 deletions

View File

@@ -213,6 +213,7 @@ const SimpleList = ({
opacity: 0,
elevation: 0,
}}
tintColor={colors.accent}
colors={[colors.accent]}
progressViewOffset={150}
@@ -235,6 +236,8 @@ const SimpleList = ({
height: '100%',
backgroundColor: colors.bg,
width: '100%',
minHeight: 1,
minWidth: 1
};
return (
<>
@@ -251,6 +254,7 @@ const SimpleList = ({
dataProvider={dataProvider}
rowRenderer={_renderRow}
onScroll={_onScroll}
canChangeSize={true}
renderFooter={listData.length === 0 ? null : Footer}
scrollViewProps={scrollProps}