-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ViewStyleProps backfaceVisibility #3538
Comments
looks like this was an issue for Android until recently. See here facebook/react-native#15970 |
Comp supports this but we believe XAML does not. Either needs us to go directly to Comp or add support to XAML in WinUI3. |
A possible solution here would be to stop using the "facade" animation properties and instead animate the underlying Composition Visual directly, by using ElementCompositionPreview.GetElementVisual(). This has the advantage of going further downlevel as well, but has a possible disadvantage: GetElementVisual is the "old" way of doing animations and isn't compatible with facades. Stephen Peters pointed out that the WinUI controls use facades on Content controls, so if someone were to wrap a WinUI control and also wrap the Content that goes inside the WinUI control, those controls will be locked into using facades. We don't currently have any such controls but it could happen someday. From email conversation: Keith says:
If the above can all happen, maybe we can just create an additional UIElement to parent the WinUI control. Stephen says: |
Not something we plan to address on the Paper renderer as we move towards Fabric. |
Set backfaceVisibility='hidden' on a square with text, it's a no-op. Rotate the item 180 degrees and see the text reversed (should not be shown)
The text was updated successfully, but these errors were encountered: