-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Additional iOS Keyboard Next Preference #12968
Description
Description
This PR #11914 makes it possible to move on to the next UITextView or UITextField when pressing "Next" on an Entry or Editor with the ReturnType="Next".
This PR implements similar behavior as WinUI and Xamarin.Forms as it will search for the next view to focus by Logical Order incorporating Z-Indexes. However, Android prioritizes Visual Order rather than logical order.
This proposal is to add a property that would allow the user to specify which type of order they would like to follow on a Next press or tab when using iOS. Perhaps Android users could also have an option to specify they would like to sort by Logical Order.
This branch has a decent start for the visual order implementation: https://github.com/tj-devel709/maui/tree/KeyboardNextReturnType-IntricateRecursion
(Public) API Changes
Perhaps a top-level xaml property that allow a user to select which type of order they would like to follow.
Property: "TabSort"
Enums: Logical, Visual, Default (Visual for Android and Logical for other platforms)
Usage Scenarios
<Layout TabSort="Logical">
...
</Layout>Backward Compatibility
If we have a default enum value, there should not be any breaking changes with this
Difficulty
Medium