在模式内部/上方显示谷歌选择器
有没有办法让谷歌驱动器选择器显示在自定义模式或 div 中?我有一个模式,用户可以选择多个提供商,例如谷歌,保管箱.该模式包含其中的所有 js 和 css 文件.因此,当我单击 google drive 时,选择器 iframe
嵌入到 body
并在我的模态后面,尽管我的模态 z-index 是 1030 并且选择器 iframe
zindex 是 2292.
Is there a way to show the google drive picker to be shown inside a custom modal or a div? I have a modal where there will be multiple providers user can choose e.g. google, dropbox. That modal contains all the js and css files in it. So when I click on google drive the picker iframe
is embedded into body
and behind my modal, although my modal z-index is 1030 and picker iframe
zindex is 2292.
推荐答案
我只是简单地添加了以下CSS:
I simply added the following CSS:
.picker-dialog-bg {
z-index: 20000 !important;
}
.picker-dialog {
z-index: 20001 !important;
}
相关文章