From af15c488ccf20b57d4d9c8b92ed97aae6bef10c4 Mon Sep 17 00:00:00 2001 From: Sadaqat Ali Date: Tue, 19 Apr 2022 10:11:53 +0500 Subject: [PATCH] added keyboard avoiding view --- src/screens/transfer/screen/powerDownScreen.js | 10 +++++++--- src/screens/transfer/screen/transferStyles.js | 4 ++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/screens/transfer/screen/powerDownScreen.js b/src/screens/transfer/screen/powerDownScreen.js index a5c163280..aaef316c8 100644 --- a/src/screens/transfer/screen/powerDownScreen.js +++ b/src/screens/transfer/screen/powerDownScreen.js @@ -1,6 +1,6 @@ /* eslint-disable react/no-unused-state */ import React, { Fragment, Component } from 'react'; -import { Text, View, ScrollView, Alert } from 'react-native'; +import { Text, View, ScrollView, Alert, KeyboardAvoidingView, Platform } from 'react-native'; import { injectIntl } from 'react-intl'; import Slider from '@esteemapp/react-native-slider'; import get from 'lodash/get'; @@ -390,7 +390,11 @@ class PowerDownView extends Component { return ( - + {this._renderBeneficiarySelectionContent()} {_renderMiddleContent()} @@ -496,7 +500,7 @@ class PowerDownView extends Component { )} - +