T.NQ
T.NQ

Reputation: 71

Display MasterView on default SAPUI5

I'm trying to make a fiori app using <SplitApp> view. My problem is when I use small device such as phone (portrait mode), the master view is not shown, but only the detail view (look like below): This is the detail view

I've tried to use property mode="PopoverMode" or StretchCompressMode but none of those worked. Any suggestion? Thanks and Best regards

Upvotes: 0

Views: 1169

Answers (2)

T.NQ
T.NQ

Reputation: 71

I found the solution. I change the order of 2 views in target from:[master, detail] to [detail, master]

Upvotes: 1

Sunil B N
Sunil B N

Reputation: 4225

SplitApp is another root element of a UI5 mobile application besides App control. It maintains two NavContainers if running on tablet/desktop and one - on phone. The display of master NavContainer depends on the portrait/landscape mode of the device and the mode of SplitApp.

Try to add items to the master page and then navigate and check if it goes to detail screen.

Upvotes: 0

Related Questions