From 65e62371abcecd873dc243bd4e7bd3e8887bcae9 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Fri, 27 Sep 2019 01:30:51 +0300 Subject: [PATCH] Revert long post as ScrollView instead of View (#3333) --- 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 &&