mirror of https://github.com/grafana/grafana.git
FolderPicker: Prevent dropdown menu from disappearing off screen (#32603)
* fix(folderpicker): remove position fixed so menu works in panel editor for dashlist & alertlist * test(folderpicker): update snapshot
This commit is contained in:
parent
7c182b1d2d
commit
8b38b70e00
|
@ -161,7 +161,6 @@ export class FolderPicker extends PureComponent<Props, State> {
|
|||
loadOptions={this.debouncedSearch}
|
||||
onChange={this.onFolderChange}
|
||||
onCreateOption={this.createNewFolder}
|
||||
menuPosition="fixed"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -10,7 +10,6 @@ exports[`FolderPicker should render 1`] = `
|
|||
defaultValue={Object {}}
|
||||
loadOptions={[Function]}
|
||||
loadingMessage="Loading folders..."
|
||||
menuPosition="fixed"
|
||||
onChange={[Function]}
|
||||
onCreateOption={[Function]}
|
||||
value={Object {}}
|
||||
|
|
Loading…
Reference in New Issue