Element outside the dialog

Asked

Viewed 46 times

1

inserir a descrição da imagem aqui

How do I display a ul/div that is inside the dialog? Note in the bottom right corner of the dialog

<div id="dialog">
        <div>  <div>    <button id="status-candidato">Run last action</button>  <button id="select">Select an action</button>
      </div>
      <ul>
        <li>Open...</li>
        <li>Save</li>
        <li>Delete</li>        
      </ul></div>

    </div>


<script>
 $('#dialog').dialog({
            title:"Titulo",
            width:800,
            modal: true,
            resizable: false,
            position: "top"

...
</script>

2 answers

0

I believe you can fix it with z-index:

#dialog {
    display: block;
    z-index: 9999;
}
  • haven’t tried several ways with css (word-wrap,display, z-index, overflow), it seems that the dialog delimits the div

0


I got!!

#dialog {  overflow: visible; }
.ui-dialog { overflow: visible; }

you have to force the dialog class to display

Browser other questions tagged

You are not signed in. Login or sign up in order to post.