Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scrollToBottom () {
- let listView = this.$refs.messagesscroll
- setTimeout(() => {
- if (listView &&
- listView.nativeView &&
- listView.nativeView.ios) {
- listView.nativeView.ios.scrollToRowAtIndexPathAtScrollPositionAnimated(NSIndexPath.indexPathForItemInSection(listView.nativeView.items.length - 1, 0),
- UITableViewScrollPosition.Bottom,
- true)
- }
- }, 10)
- },
Add Comment
Please, Sign In to add comment