@supportworks/multi-imagepicker 8.4.3 → 8.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supportworks/multi-imagepicker",
3
- "version": "8.4.3",
3
+ "version": "8.4.4",
4
4
  "description": "Android and iOS customized multiple image picker. For react-native >= 0.60.",
5
5
  "main": "index.js",
6
6
  "author": {
@@ -24,6 +24,7 @@
24
24
  "expo-sensors": "*",
25
25
  "@supportworks/swmaterialdesign": ">=1.1.3",
26
26
  "react-native-image-crop-picker": ">=0.25.0",
27
+ "react-native-keyboard-aware-scroll-view": "^0.9.5",
27
28
  "react-native-responsive-layout": "git@github.com:InspiredAgency/react-native-responsive-layout.git",
28
29
  "moment": ">=2.24.0"
29
30
  }
@@ -1,9 +1,9 @@
1
1
  import React, { useCallback, useMemo, useEffect, useState } from 'react'
2
2
  import {
3
3
  View,
4
- FlatList,
5
4
  Modal
6
5
  } from 'react-native'
6
+ import { KeyboardAwareFlatList } from 'react-native-keyboard-aware-scroll-view'
7
7
  import SingleImage from './SingleImage'
8
8
  import { Analytics } from '@supportworks/analytics'
9
9
  import { MediaPlayer, ScreenSafeAreaView } from '@supportworks/core-controls'
@@ -102,7 +102,7 @@ const SelectedImages = (
102
102
 
103
103
  return (
104
104
  <>
105
- <FlatList
105
+ <KeyboardAwareFlatList
106
106
  data={items}
107
107
  extraData={{ version, imageVersions }}
108
108
  keyExtractor={item => item.path}