Skip to content

Commit 4302b97

Browse files
author
alvaromb
committed
v0.2.3
1 parent c4ae52a commit 4302b97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/KeyboardAwareMixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const KeyboardAwareMixin = {
7676
},
7777

7878
resetKeyboardSpace: function () {
79-
const keyboardSpace: number = (this.props.viewIsInsideTabBar) ? _KAM_DEFAULT_TAB_BAR_HEIGHT : 0
79+
const keyboardSpace: number = (this.props.viewIsInsideTabBar) ? _KAM_DEFAULT_TAB_BAR_HEIGHT + this.props.extraScrollHeight : this.props.extraScrollHeight
8080
this.setState({keyboardSpace})
8181
// Reset scroll position after keyboard dismissal
8282
if (this.resetCoords) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-keyboard-aware-scroll-view",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"description": "A React Native ScrollView component that resizes when the keyboard appears.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)