[Woo POS] Accessibility improvements iOS17+ #14970
Labels
category: accessibility
Related to accessibility.
feature: POS
type: enhancement
A request for an enhancement.
Ref: #14919 (review)
In some views we need to set upper bounds to accessibility sizes so we can still fit all the elements. For example in the case of Cash Collection when the keyboard is open it will take half of the screen, risking buttons being hidden. This can be improved with the usage of
.safeAreaPadding
Since we still need a fallback while we support iOS16, we need to create several extensions that would apply the view modifiers conditionally based on iOS versions. For the case above:
In the case above for cash collection, combining these a keyboard height observer and applying the modifiers to the ScrollView would make this scrollable despite the keyboard.
The text was updated successfully, but these errors were encountered: