-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
skewX, skewY does not work! #12212
Comments
There is no built-in skew animation on Android anyway. |
Having the same problem here. The transform I'm running everything on:
|
I am having the same problem as @Fenwil . Any workarounds ? |
@glcrazier there is a skew function in canvas library of android and it works there! |
@Pourya8366 Cool, thanks for correction! I realized that matrix may do the work as well. Which function are you referring to in canvas library? |
@Pourya8366 hey did you find any workarounds ? |
@glcrazier i use this function and it works! |
@roshangm1 No, i found nothing yet! :( |
it works for canvas, but it is not a good option for animation framework in my opinion. I noticed that in latest release this issue was resolved. You can take a shot |
@glcrazier I think, not yet resolved. :/ working fine for iOS. Problem with android. |
@roshangm1 In v0.42 is fixed: |
I tried it. But it doesn't seem to be working for me. Can you confirm if
it's working for you guys?
…On Sun, Mar 5, 2017, 2:27 AM Leonardo Galante ***@***.***> wrote:
@roshangm1 <https://github.com/roshangm1> In v0.42
<https://github.com/facebook/react-native/releases/tag/v0.42.0> is fixed:
Fix skew transform on native side (c681959
<c681959>)
- @MaxGraey <https://github.com/MaxGraey>
I didn't try it yet but I guess it works now
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12212 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFmCXhRzL780RGiODiek9JOazgXXdGSLks5ricyygaJpZM4L3REB>
.
|
I confirm, for Android skew transform is not working.
So I see only two ways:
Both way need hard refactoring existing code |
+1, skewX skewY still doesn't work. |
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally! If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution. |
@MaxGraey I encountered the same problem and I wonder what kind of solution there is besides diving into the native code. I find it weird that only the skewX is not working while the skewY is. |
Theoreticlly you can simulate 2d skew transform via 3d rotation by X and Y axis simultaneously with ortho projection |
Hmm, unfortunately a year and 3 months later, this is STILL not fixed. skewX doesn't work on Android, while skewY does. If you add a skewX, the skewY stops working |
react-native": "0.55.4" both skewX and skewY doesn't work on Android, is this issue solved ? |
same 0.57.0 still no progress i guess? |
Not working +1 for this. |
skewY and skewX not working on Android. ANy workaroud? |
Description
i styled a
<View />
withtransform: [{skewX: "-20deg"}]
and it does nothing at all!when i use skewY it do rotate!!!
Reproduction
https://rnplay.org/apps/FlXziw
Solution
i think it's a react native bug!
Additional Information
The text was updated successfully, but these errors were encountered: