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}
|
loadOptions={this.debouncedSearch}
|
||||||
onChange={this.onFolderChange}
|
onChange={this.onFolderChange}
|
||||||
onCreateOption={this.createNewFolder}
|
onCreateOption={this.createNewFolder}
|
||||||
menuPosition="fixed"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -10,7 +10,6 @@ exports[`FolderPicker should render 1`] = `
|
||||||
defaultValue={Object {}}
|
defaultValue={Object {}}
|
||||||
loadOptions={[Function]}
|
loadOptions={[Function]}
|
||||||
loadingMessage="Loading folders..."
|
loadingMessage="Loading folders..."
|
||||||
menuPosition="fixed"
|
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
onCreateOption={[Function]}
|
onCreateOption={[Function]}
|
||||||
value={Object {}}
|
value={Object {}}
|
||||||
|
|
Loading…
Reference in New Issue