Replies: 6 comments
-
Looks like SwiftUI sample is not the same as using |
Beta Was this translation helpful? Give feedback.
-
I'm thinking a property would be best for this on the TabView That way users could indicate if they want double tap to PopToRoot or not. Then they could configure it to work one way vs the other. We can't really change how iOS works as that would be a fairly heavy breaking change plus iOS users kind of expect this type of behavior. We don't implement anything on iOS to enable this behavior it's just iOS being iOS |
Beta Was this translation helpful? Give feedback.
-
@albilaga What do you think about Shane's last comment?, does it seem like an option to allow both behaviors in a simple way? |
Beta Was this translation helpful? Give feedback.
-
@PureWeen @jsuarezruiz Yes I think it will be better if we have the property to avoid breaking change. There are some people that also will want to expect current behavior but with user also become platform agnostic there are also some people (including me) that want behavior to be consistent in all platform |
Beta Was this translation helpful? Give feedback.
-
I get it. What do you think if you create an enhancement with your proposal for the new property? I can create it myself if you want. |
Beta Was this translation helpful? Give feedback.
-
@jsuarezruiz what do you think the best property name for it? I think we can put it in iOS specific for |
Beta Was this translation helpful? Give feedback.
-
Description
iOS tab page when clicking active tab not behaving the same as in Android or in native iOS (using SwiftUI)
Steps to Reproduce
NavigationPage
).Expected Behavior
The tab should do nothing and the page not getting reset.
Actual Behavior
The page getting reset back to root page. I test it in Android and using SwiftUI on iOS this is not happened.
Basic Information
Videos
I attached the videos in here with result from iOS using SwiftUI, Android and iOS using Xamarin Forms.
Reproduction Link
This is the sample using Xamarin Forms
This is the sample using SwiftUI iOS
Beta Was this translation helpful? Give feedback.
All reactions