Hello, I want to use ion-router-outlet with mode=“ios” to have the horizontal page transition. It worked well in Ionic 4 but now in Ionic 5, the mode is applied to every children of ion-router-outlet which means all my components get shown in a ios style, even on Android or Web.
How can use the mode attribute like it was on Ionic 4, for the current component only?
I did read the breaking change docs. The solution provided in the docs is to apply a different mode on the direct children of the component. But there is no mode=“default” I can set on the children, I don’t want to force a mode on all the components of my app! I just want to set a mode on ONE component.
I think the mode should be able to be set in a non-recursive manner like it was on Ionic 4. I can think of many cases it could be useful, like having an <ion-item> in a certain mode, but keep his <ion-icon> child in the default mode of the device.