openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

sap.ui.unified.SplitContainer doesn't scroll on iOS Devices

Open eldorak90 opened this issue 10 years ago • 2 comments

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:

  1. Use the SAP UI sample for the sap.ui.unified.SplitContainer
  2. Fill it with enough data so the spaces should be scrollable
  3. Scrolling is on iPad/iPhone not possible

Alternate way to reproduce it in Chrome on Windows

  1. Load the same page in Chrome
  2. Open Developer tools
  3. Press on the "Toggle Device Toolbar button" (Ctrl + Shift + M)
  4. In the console, press on the three dots and open "network conditions"
  5. Uncheck "Select automatically" in the User agent part and choose "iPad --- iOS 9"
  6. Reload the Page
  7. 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)

eldorak90 avatar Jul 07 '16 15:07 eldorak90

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

Michadelic avatar Jul 14 '16 10:07 Michadelic

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.

eldorak90 avatar Jul 14 '16 10:07 eldorak90