Skip to content

Commit 64c5f0d

Browse files
committed
Added scrollTo
1 parent f55a7c4 commit 64c5f0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/KeyboardAwareBase.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ export default class KeyboardAwareBase extends Component {
130130
this._keyboardAwareView.scrollTo({x: 0, y: bottomYOffset, animated: scrollAnimated});
131131
}
132132
}
133+
scrollTo(options) {
134+
if (this._keyboardAwareView) this._keyboardAwareView.scrollTo(options);
135+
}
133136
}
134137

135138
KeyboardAwareBase.propTypes = {

0 commit comments

Comments
 (0)