Scroll container and Lists not showing in since 1.36.7
OpenUI5 version:
1.36.8 Issue exists since 1.36.7
Browser/version (+device/version):
Safari 9.11.1 and Chrome 50 on Mac OS X
Any other tested browsers/devices(OK/FAIL):
Safari 9.11.1 Mac OS X => FAIL Chrome 50 on Mac OS X => FAIL
Safari iOS 9.3 => OK
URL (minimal example if possible):
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
- Create Dialog to display fragment from below
- Dialog opens and loads the rooms model, but nothing is shown, although data is visible in UI5 inspector in Chrome
- Switched back to 1.36.6
What is the expected result?
See the screenshot

What happens instead?
Empty dialog with loaded data but invisible.
Any other information? (attach screenshot if possible)
Fragment
<core:FragmentDefinition xmlns:core="sap.ui.core" xmlns:m="sap.m" xmlns="sap.m" xmlns:custom="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1" xmlns:u="sap.ui.unified">
<m:Dialog title="Administration" afterClose="afterAdministrationDialogClose" stretch="true" horizontalScrolling="false" verticalScrolling="false">
<m:content>
<u:SplitContainer
id="administrationSplitContainer"
showSecondaryContent="true">
<u:secondaryContent>
<ScrollContainer
height="100%"
width="100%"
horizontal="true"
vertical="true"
focusable="true">
<content>
<List visible="true" id="rooms"
items="{
path: 'rooms>/rooms'
}"
itemPress="administrationRoomPressed"
>
<!-- itemPress="administrationRoomPressed" mode="SingleSelect" selectionChange="handleRoomSelected" -->
<items>
<StandardListItem
title="{rooms>roomName}" type="Navigation" custom:roomId="{rooms>id}"
>
</StandardListItem></items>
<headerToolbar>
<Toolbar>
<Title text="Rooms" level="H2" />
<ToolbarSpacer />
<Button
icon="sap-icon://add"
press="handleAddRoomButtonPress" />
<Button
icon="sap-icon://edit"
press="handleEditRoomButtonPress" />
</Toolbar>
</headerToolbar>
</List></content></ScrollContainer>
</u:secondaryContent>
<u:content>
<List visible="true" id="sensor"
items="{
path: 'administrationRoomDetail>/sensors'
}"
itemPress="administrationSensorPressed"
>
<!-- itemPress="administrationRoomPressed" mode="SingleSelect" selectionChange="handleRoomSelected" -->
<items>
<StandardListItem
title="{administrationRoomDetail>sensorName}" type="Navigation" custom:sensorId="{administrationRoomDetail>sensorid}"
>
</StandardListItem></items>
<headerToolbar>
<Toolbar>
<Title text="Sensors" level="H2" />
<ToolbarSpacer />
<Button
icon="sap-icon://add"
press="handleAddSensorButtonPress" />
<!--<Button
icon="sap-icon://edit"
press="handleEditSensorButtonPress" />-->
</Toolbar>
</headerToolbar>
</List>
<List visible="true" id="switches"
items="{
path: 'administrationRoomDetail>/switches'
}"
itemPress="administrationSwitchPressed"
>
<!-- itemPress="administrationRoomPressed" mode="SingleSelect" selectionChange="handleRoomSelected" -->
<items>
<StandardListItem
title="{administrationRoomDetail>name}" type="Navigation" custom:switchId="{administrationRoomDetail>id}"
>
</StandardListItem></items>
<headerToolbar>
<Toolbar>
<Title text="Switches" level="H2" />
<ToolbarSpacer />
<Button
icon="sap-icon://add"
press="handleAddSwitchButtonPress" />
<!--<Button
icon="sap-icon://edit"
press="handleEditSensorButtonPress" />-->
</Toolbar>
</headerToolbar>
</List>
</u:content>
</u:SplitContainer>
</m:content>
<m:beginButton>
<m:Button text="Schliessen" press="administrationDialogClose"/>
</m:beginButton>
</m:Dialog>
/core:FragmentDefinition
Hi, Thanks for your message! Could you send us a screenshot from Safari, from the Dialog itself when it opens empty, and from the DOM which is generated? What do you see in the DOM, are the controls there and just not visible, or are they not generated at all? Any chance you could maybe produce a Plunker example from your code? It doesn't have to be anything complicated, can be all in one file, just an excerpt from your model data and a button which then opens the dialog - or could you post the excerpt from the model data here in JSON format, so we have something to work with? Thanks in advance and best regards Christiane
This was working fine in 1.36.6 http://jsbin.com/kedeqec/1/edit?html,output but can be reproduced in 1.36.7: http://jsbin.com/kedeqec/2/edit?html,output
I opened internal ticket 1670268723
Thanks for spotting this!
Regards Andreas
Hello comdata,
we prepared a bug for this issue and it will be provided with 1.36.11. However this comes with a Note about the usage of the Dialog - When controls that rely on position: absolute (like sap.m.ScrollContainer) are used inside the content of sap.m.Dialog the control should have either stretch set to true or contentHeight set to a specific value (e.g. "500px", "50%" etc).
Regards, Marin