Make settings dialog scrollable
Summary: Make settings dialog content scrollable, which is more natural than scrolling the entire window, as reported in https://fb.workplace.com/groups/flippersupport/permalink/1063196077494383/ Reviewed By: nikoant Differential Revision: D26015864 fbshipit-source-id: 8c74e105c290e62313e332ed1b47040eff548a97
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9cf80f60d7
commit
e67ed8030d
@@ -104,8 +104,12 @@ class SettingsSheet extends Component<Props, State> {
|
||||
onCancel={this.props.onHide}
|
||||
width={570}
|
||||
title="Settings"
|
||||
footer={footer}>
|
||||
<FlexColumn>{contents}</FlexColumn>
|
||||
footer={footer}
|
||||
bodyStyle={{
|
||||
overflow: 'scroll',
|
||||
maxHeight: 'calc(100vh - 250px)',
|
||||
}}>
|
||||
{contents}
|
||||
</Modal>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user