fix: the reaction's list scroll setting only one snappoint (#5039)

This commit is contained in:
Reinaldo Neto 2023-05-10 20:27:34 -03:00 committed by GitHub
parent 47b4413b59
commit 2ead142a29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -906,7 +906,7 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
const { selectedMessage } = this.state; const { selectedMessage } = this.state;
this.handleCloseEmoji(showActionSheet, { this.handleCloseEmoji(showActionSheet, {
children: <ReactionsList reactions={selectedMessage?.reactions} getCustomEmoji={this.getCustomEmoji} />, children: <ReactionsList reactions={selectedMessage?.reactions} getCustomEmoji={this.getCustomEmoji} />,
snaps: ['50%', '80%'], snaps: ['50%'],
enableContentPanningGesture: false enableContentPanningGesture: false
}); });
}; };