openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

SplitContainer not sending masterNavigate and afterMasterNavigate on phone

Open valdrinkoshi opened this issue 11 years ago • 4 comments

sap.m.SplitContainer doesn't send the events "masterNavigate" and "afterMasterNavigate" on phone (same for "detailNavigate" and "afterDetailNavigate"). The problem is at the line: https://github.com/SAP/openui5/blob/master/src/sap.m/src/sap/m/SplitContainer.js#L494

Here an example (it should log something on console) http://output.jsbin.com/wetihehume?sap-ui-xx-fakeOS=ios without fakeOS works fine (we see the logs) http://output.jsbin.com/wetihehume Source code http://jsbin.com/wetihehume/2/edit?js,console

valdrinkoshi avatar Sep 10 '15 22:09 valdrinkoshi

Hi valdrinkoshi,

this sounds like a bug to me. There is no master and detail in Phone, but there should be one event at least for the navigation. I will contact the responsible developers and they will keep you updated.

Internal incident id: 1580082770

Best regards, Janina

blaesius avatar Sep 14 '15 13:09 blaesius

image I can't reproduce the reported issue even with your example in jsBin - see the attached screenshot. afterDetailNavigation event works also. Please do not rely on the query string parameter "sap-ui-xx-fakeOS" - it is depracated already. I've used the Chrome simulation mode as you could see on the attached screenshot. Kindly close the issue at your convenience.

Thanks and best regards, Evgeni Katsarski

evkatsarski avatar Sep 29 '15 07:09 evkatsarski

Hi Evgeni, apparently jsbin is not carrying the ?sap-ui-xx-fakeOS=ios in the url, so you are not testing it in the phone mode. I've added the fakeOS setting into the bootstrap here http://jsbin.com/fujulazezu/edit?console,output please try again, you'll see the event it is not triggered

valdrinkoshi avatar Sep 29 '15 23:09 valdrinkoshi

Hi valdrinkoshi,

this issue is fixed in the master branch. The fix will be available in the next patches for 1.28, 1.30 and 1.32.

Thanks for reporting this.

Best, Evgeni

evkatsarski avatar Oct 19 '15 07:10 evkatsarski