feat(chat/native) fixed scroll inside chat room

This commit is contained in:
Calin Chitu
2021-11-16 15:42:02 +02:00
committed by Calinteodor
parent 2e69ec71c5
commit 39d1ccff85
3 changed files with 9 additions and 10 deletions

View File

@@ -6,7 +6,6 @@ import { FlatList } from 'react-native';
import { MESSAGE_TYPE_LOCAL, MESSAGE_TYPE_REMOTE } from '../../constants';
import ChatMessage from './ChatMessage';
import styles from './styles';
type Props = {
@@ -43,8 +42,7 @@ export default class ChatMessageGroup extends Component<Props> {
data = { this.props.messages }
inverted = { true }
keyExtractor = { this._keyExtractor }
renderItem = { this._renderMessage }
style = { styles.messageContainer } />
renderItem = { this._renderMessage } />
);
}