SaveDashboard: Fix for folder picker menu not being visible outside modal (#24296)

* Change z-index

* Add position and width to menuPortal
pull/24174/head^2
Tobias Skarhed 5 years ago committed by GitHub
parent 21bd9dacd6
commit 1947683ad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/grafana-ui/src/components/Select/SelectBase.tsx

@ -312,7 +312,9 @@ export function SelectBase<T>({
}}
styles={{
...resetSelectStyles(),
menuPortal: () => ({
menuPortal: ({ position, width }: any) => ({
position,
width,
zIndex: theme.zIndex.dropdown,
}),
//These are required for the menu positioning to function

Loading…
Cancel
Save