本文介紹了在模式內部/上方顯示谷歌選擇器的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
有沒有辦法讓谷歌驅動器選擇器顯示在自定義模式或 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;
}
這篇關于在模式內部/上方顯示谷歌選擇器的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!