File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change
1
+ /* eslint import/no-extraneous-dependencies:"off" */
2
+ /* eslint import/no-unresolved:"off" */
3
+ /* eslint import/extensions:"off" */
4
+
1
5
import React , { Component } from 'react' ;
2
6
import {
3
7
Platform ,
@@ -85,7 +89,7 @@ const KeyBoardSpacer = passProps => PassChild => class KeyBoardSpacerInner exten
85
89
}
86
90
87
91
render ( ) {
88
- for ( let i = 0 , l = passProps . numbers ; i < l ; i ++ ) {
92
+ for ( let i = this . ids . length , l = passProps . numbers ; i < l ; i ++ ) {
89
93
const ref = ( _ref ) => { this . ids [ i ] . ref = _ref ; } ;
90
94
this . ids . push (
91
95
( arg , option ) => ( {
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ const KeyBoardSpacer = passProps => PassChild => class KeyBoardSpacerInner exten
89
89
}
90
90
91
91
render ( ) {
92
- for ( let i = 0 , l = passProps . numbers ; i < l ; i ++ ) {
92
+ for ( let i = this . ids . length , l = passProps . numbers ; i < l ; i ++ ) {
93
93
const ref = ( _ref ) => { this . ids [ i ] . ref = _ref ; } ;
94
94
this . ids . push (
95
95
( arg , option ) => ( {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-flex-keyboard-spacer" ,
3
- "version" : " 1.0.7 " ,
3
+ "version" : " 1.0.8 " ,
4
4
"description" : " react-native-keyboard-spacer" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments