From 4302b97dc64908ca7958b730c33109ac90c31601 Mon Sep 17 00:00:00 2001 From: alvaromb Date: Fri, 11 Nov 2016 12:29:43 +0100 Subject: [PATCH] v0.2.3 --- lib/KeyboardAwareMixin.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/KeyboardAwareMixin.js b/lib/KeyboardAwareMixin.js index 32c3ba0..98fe5d2 100644 --- a/lib/KeyboardAwareMixin.js +++ b/lib/KeyboardAwareMixin.js @@ -76,7 +76,7 @@ const KeyboardAwareMixin = { }, resetKeyboardSpace: function () { - const keyboardSpace: number = (this.props.viewIsInsideTabBar) ? _KAM_DEFAULT_TAB_BAR_HEIGHT : 0 + const keyboardSpace: number = (this.props.viewIsInsideTabBar) ? _KAM_DEFAULT_TAB_BAR_HEIGHT + this.props.extraScrollHeight : this.props.extraScrollHeight this.setState({keyboardSpace}) // Reset scroll position after keyboard dismissal if (this.resetCoords) { diff --git a/package.json b/package.json index d271b86..13221cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-keyboard-aware-scroll-view", - "version": "0.2.2", + "version": "0.2.3", "description": "A React Native ScrollView component that resizes when the keyboard appears.", "main": "index.js", "scripts": {