From d5ea75171cf57eb1752bacded6b93361a19b6ad8 Mon Sep 17 00:00:00 2001 From: Mattermost Build Date: Fri, 27 Sep 2019 00:35:49 +0200 Subject: [PATCH] Revert long post as ScrollView instead of View (#3334) --- app/components/post_body/post_body.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/components/post_body/post_body.js b/app/components/post_body/post_body.js index 618a313dd..b891ee324 100644 --- a/app/components/post_body/post_body.js +++ b/app/components/post_body/post_body.js @@ -5,6 +5,7 @@ import React, {PureComponent} from 'react'; import PropTypes from 'prop-types'; import { Keyboard, + ScrollView, View, } from 'react-native'; import {intlShape} from 'react-intl'; @@ -408,11 +409,15 @@ export default class PostBody extends PureComponent { if (!hasBeenDeleted) { body = ( - {messageComponent} - + {isLongPost &&