Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-gifted-messenger

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-gifted-messenger - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

16

GiftedMessenger.js

@@ -250,9 +250,13 @@ 'use strict';

scrollToBottom() {
var scrollDistance = this.listHeight - this.footerY;
this.scrollResponder.scrollTo(-scrollDistance);
if (this.listHeight && this.footerY && this.footerY > this.listHeight) {
var scrollDistance = this.listHeight - this.footerY;
this.scrollResponder.scrollTo(-scrollDistance);
}
},
scrollWithoutAnimationToBottom() {
var scrollDistance = this.listHeight - this.footerY;
this.scrollResponder.scrollWithoutAnimationTo(-scrollDistance);
if (this.listHeight && this.footerY && this.footerY > this.listHeight) {
var scrollDistance = this.listHeight - this.footerY;
this.scrollResponder.scrollWithoutAnimationTo(-scrollDistance);
}
},

@@ -362,5 +366,3 @@

// inspired by http://stackoverflow.com/a/34838513/1385109
if(this.listHeight && this.footerY && this.footerY > this.listHeight) {
this.scrollToBottom();
}
this.scrollToBottom();
}, 100);

@@ -367,0 +369,0 @@ }

{
"name": "react-native-gifted-messenger",
"version": "0.0.12",
"version": "0.0.13",
"description": "The chat of your next React-Native Apps",

@@ -5,0 +5,0 @@ "main": "GiftedMessenger.js",

# Gifted Messenger
Ready-to-use chat interface for iOS and Android React-Native apps
Dependency: React-Native >= v0.18.0-rc (onLayout prop on ListView is required)
![](https://raw.githubusercontent.com/FaridSafi/react-native-gifted-messenger/master/screenshots/messenger-1.png)

@@ -5,0 +8,0 @@ ![](https://raw.githubusercontent.com/FaridSafi/react-native-gifted-messenger/master/screenshots/messenger-2.png)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc