問題は、メニューのボタンをクリックすると、「メインコンテンツ」の後ろに隠れているため、ウィンドウのポップアップが表示されないことです。これは、Firebugsの要素検査ツールで確認できます。
z-indexスタイルを使用してみましたが、役に立たないようです。
これを修正する他のオプションや創造的な解決策はありますか?
{kind:"FittableColumns", style:"z-index:1;", fit:true, components:[
{kind:"FittableRows", style:"z-index:1;", fit:true, components:[
{content:"Main Content",style:"z-index:1;", fit:true},
{kind: "onyx.Toolbar", style: "height:40px; padding:0px;", components: [
{kind: "onyx.MenuDecorator", onSelect: "itemSelected", components: [
{kind: "onyx.IconButton", src: "assets/menu-icon-bookmark.png"},
{kind: "onyx.Menu",style:"z-index:99999;",components: [
{components: [
{kind: "onyx.IconButton", src: "assets/menu-icon-bookmark.png"},
{content: "Bookmarks"}
]},
{content: "Favorites"},
{classes: "onyx-menu-divider"},
{content: "Recents"},
]}
]},
]}
コードは続行されますが、重複するメニューの近くにはありません。
解決策のために事前にTkx。