-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove GetEffectiveFlowDirection and defer flow direction handling to platforms #9558
Conversation
Leaving this as draft until I can get around to updating all the public API files and removing the now-unused extension methods. |
a9a6985
to
607086b
Compare
@@ -45,9 +45,6 @@ public partial class EntryHandler : IEntryHandler | |||
|
|||
static EntryHandler() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just delete the entire static ctor now?
Same question for LabelHandler/LayoutHandler/PickerHandler/SearchBarHandler
@hartez the arranging on CollectionView looks to be better now but the sizing seems off now in RTL mode The Left image is this PR |
Hmmm... the problems on Android in the CollectionView go away if I remove the Border from the template. |
@PureWeen The Android problems should be fixed - looking at the iOS issues now. |
… platforms; Automate reversal of RTL layouts during platform arrange;
d4ae573
to
8ccaa7f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description of Change
Automates reversal of RTL layouts during platform arrange for iOS and Android (basically works like Windows now).
Removes all cross-platform RTL layout code (since the platforms handle it). Updates automated tests accordingly.
Propagates iOS LTR/RTL settings when FlowDirection is MatchParent (this wasn't happening at all before).
Consolidates code to update text alignment on iOS when FlowDirection changes.
Adds FlowDirection propagation tests for iOS (skips the other platforms because they do this automatically).
Issues Fixed
Fixes #8175 (in that it removes
ShouldArrangeLeftToRight
entirely).This is an alternative to #9326/#9327.