Cannot scroll with crash report

Summary: Fixed scroll for crash reported plugin

Reviewed By: mweststrate

Differential Revision: D19975593

fbshipit-source-id: 756c017e8a6e5e5e1309be5787bc88dd2ac97bca
This commit is contained in:
Anton Nikolaev
2020-02-21 03:47:43 -08:00
committed by Facebook Github Bot
parent 05a1c70bc7
commit e1e8bb841c

View File

@@ -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 (
<FlexColumn>
<PluginRootContainer>
{this.device.os == 'Android' ? (
<CrashReporterBar
crashSelector={crashSelector}
@@ -773,7 +777,7 @@ export default class CrashReporterPlugin extends FlipperDevicePlugin<
})}
</ContextMenu>
</ScrollableColumn>
</FlexColumn>
</PluginRootContainer>
);
}
const crashSelector = {