PROBLEM
問題は、次のようになりますクラス
Settings-settings-1316548938
と
div
である:(
position: relative
と
z-index: 99999999
を使用して)
.Settings-settings-1316548938 {
position: fixed;
}
position: fixed;
新しいstacking context
その.month-picker
を作成しようとしているラップstacking context
を作成します。
よりstacking context
以上存在しないので:
.MuiAppBar-positionFixed-2227438490
.Settings-settings-1316548938
.month-picker
と.month-picker
は、これが問題を引き起こしている.Settings-settings-1316548938
から内側stacking context
あります。
SOLUTION
簡単:
.Settings-settings-1316548938 {
position: fixed;
z-index: 99; // or any other positive number
}
なぜ?
position: fixed;
が新しいstacking context
を作成しますが、z-index
財産ずに、要素はSVG要素は、日付ピッカー要素よりも後に来て、あなたがあなたのSettings-settings-1316548938
クラスにz-index
を指定する必要が理由ですoccurrence.Soの順に積層されているので。
また、私がstacking context
について話しているとき、私が何を意味するのか理解しておく必要があります。だから、リンクをたどって記事を読んでください。
希望すると便利です。
これをチェックする - > ['z-index'プロパティは' static'以外の 'position'値を持つ要素に対してのみ機能します。](https://stackoverflow.com/a/9191845/5090771) – WhiteHat
私のチェック回答! – JoseAPL