sap.ui.unified.SplitContainer doesn't scroll on iOS Devices
OpenUI5 version: 1.38.4
Browser/version (+device/version): iPad2 iOS Version 9.3.2
Any other tested browsers/devices(OK/FAIL): Google Chrome 51.0.2704.106 on Windows with iOS 9 Safari User Agent and enabled Device Emulation: FAIL iPhone 6 iOS Version 9.X: FAIL
URL (minimal example if possible): https://sapui5.hana.ondemand.com/explored.html#/sample/sap.ui.unified.sample.SplitContainer/preview
Steps to reproduce the problem:
- Use the SAP UI sample for the sap.ui.unified.SplitContainer
- Fill it with enough data so the spaces should be scrollable
- Scrolling is on iPad/iPhone not possible
Alternate way to reproduce it in Chrome on Windows
- Load the same page in Chrome
- Open Developer tools
- Press on the "Toggle Device Toolbar button" (Ctrl + Shift + M)
- In the console, press on the three dots and open "network conditions"
- Uncheck "Select automatically" in the User agent part and choose "iPad --- iOS 9"
- Reload the Page
- Try to scroll by pressing the mouse and moving it (like a touch device)
Scrolling by pressing the mouse and moving is anywhere on the SAP UI 5 sample page possible, except for sap.ui.unified.SplitContainer
What is the expected result? Scrolling should be possible in this control.
What happens instead? Scrolling is not possible.
Any other information? (attach screenshot if possible)
Hello glurak15,
thank you for describing this issue, i contacted the code owner to clarify if this is a bug. Did you try to put a sap.m.Scrollcontainer or a sap.m.Page inside the content of the SplitContainer? That could actually already solve the issue right away, i can see that the sample puts in controls directly.
So either the sample should be updated or there is another way to do it, @sirion will get back to you soon.
Internally tracked as: 1680148531
Kind Regards, Michael
Hi Michael
Thank you for the answer. Yes, I could solve this problem a few days ago by using ScrollContainer, I forgot to update this article.