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

* Change z-index

* Add position and width to menuPortal

(cherry picked from commit 1947683ad0)
This commit is contained in:
Tobias Skarhed
2020-05-07 14:59:21 +02:00
committed by Arve Knudsen
parent f21a9fff0a
commit 19db500ca9
@@ -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