title: How can a dialog determine the correct size for contained NavContainers?
body: <p>I want to add a popup to my application that contains a <code>NavContainer</code>. I need this to switch between two different views within the popup later. Now the <code>NavContainer</code> seems to need a fixed value for height and width to display content. Otherwise the popup will only be displayed in the size of the header and footer line. I realized that I can fix the size, but that's not the sense of a responsive application.</p>
  
  <p>My code looks like this without the fixed information:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;core:FragmentDefinition
    xmlns="sap.m"
    xmlns:core="sap.ui.core"
    xmlns:l="sap.ui.layout"
    xmlns:f="sap.ui.layout.form"
  &gt;
    &lt;Dialog id="genericDialog"
      showHeader="false"
      title="Detail View"
    &gt;
      &lt;NavContainer&gt;
        &lt;Page id="page1"&gt;
          &lt;List items="{/avGenericSet}"&gt;
            &lt;CustomListItem class="sapUiResponsiveMargin"&gt;
              &lt;ObjectIdentifier title="{title}"/&gt;
              &lt;Input value="{value}"/&gt;
            &lt;/CustomListItem&gt;
          &lt;/List&gt;
        &lt;/Page&gt;
        &lt;Page id="page2"&gt;
          &lt;!-- ... --&gt;
        &lt;/Page&gt;
      &lt;/NavContainer&gt;
      &lt;endButton&gt;
        &lt;Button text="Close" press="closeGenericDialog"/&gt;
      &lt;/endButton&gt;
    &lt;/Dialog&gt;
  &lt;/core:FragmentDefinition&gt;
  </code></pre>
  
  <p>The behavior can be observed in all popup types (<code>Dialog</code>, <code>Popover</code>, <code>ResponsivePopover</code>). Does any of you know a workaround or do I have to say goodbye to a "responsive" popup?</p>