Make list pop out of dialog and added scrollbar (#17244)
This commit is contained in:
parent
0ddb0f9022
commit
6d82e5634f
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,7 @@ export class PermissionSelect extends React.Component<PermissionSelectProps, Per
|
|||
<Msg msgKey='selectPermissions' />
|
||||
</span>
|
||||
<Select
|
||||
maxHeight={300}
|
||||
direction={this.props.direction || 'down'}
|
||||
variant={SelectVariant.typeaheadMulti}
|
||||
typeAheadAriaLabel={Msg.localize("selectPermissions")}
|
||||
|
@ -100,6 +101,7 @@ export class PermissionSelect extends React.Component<PermissionSelectProps, Per
|
|||
isOpen={isExpanded}
|
||||
aria-labelledby={titleId}
|
||||
placeholderText={Msg.localize("selectPermissions")}
|
||||
menuAppendTo="parent"
|
||||
>
|
||||
{this.state.scopes}
|
||||
</Select>
|
||||
|
|
Loading…
Reference in a new issue