From e1e8bb841c6d7d2359362b06cc780266439315f5 Mon Sep 17 00:00:00 2001 From: Anton Nikolaev Date: Fri, 21 Feb 2020 03:47:43 -0800 Subject: [PATCH] Cannot scroll with crash report Summary: Fixed scroll for crash reported plugin Reviewed By: mweststrate Differential Revision: D19975593 fbshipit-source-id: 756c017e8a6e5e5e1309be5787bc88dd2ac97bca --- src/plugins/crash_reporter/index.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/plugins/crash_reporter/index.js b/src/plugins/crash_reporter/index.js index ca5e5dff7..f91d2e8fb 100644 --- a/src/plugins/crash_reporter/index.js +++ b/src/plugins/crash_reporter/index.js @@ -106,7 +106,7 @@ const Line = styled(View)({ }); const Container = styled(FlexColumn)({ - overflow: 'scroll', + overflow: 'auto', flexShrink: 0, }); @@ -129,8 +129,12 @@ const FlexGrowColumn = styled(FlexColumn)({ flexGrow: 1, }); +const PluginRootContainer = styled(FlexColumn)({ + height: '100%', +}); + const ScrollableColumn = styled(FlexGrowColumn)({ - overflow: 'scroll', + overflow: 'auto', height: 'auto', }); @@ -732,7 +736,7 @@ export default class CrashReporterPlugin extends FlipperDevicePlugin< }; const showReason = crash.reason !== UNKNOWN_CRASH_REASON; return ( - + {this.device.os == 'Android' ? ( - + ); } const crashSelector = {