Skip to content

Commit

Permalink
SaveDashboard: Fix for folder picker menu not being visible outside m…
Browse files Browse the repository at this point in the history
…odal (grafana#24296)

* Change z-index

* Add position and width to menuPortal
  • Loading branch information
tskarhed authored May 5, 2020
1 parent 21bd9da commit 1947683
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/grafana-ui/src/components/Select/SelectBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1947683

Please sign in to comment.