-
-
Notifications
You must be signed in to change notification settings - Fork 699
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
How to start slideInDown from specific point #159
Comments
I would also need this feature. I'm not familiar of the implementation details of this library, but I guess that the main issue is that React Native does not support setting transform-origin yet. So, in CSS you can do this to change the starting point of the transition, e.g. center: transform-origin: 50% 50%; But as that's not available in RN, there would need to be some kind of custom implementation to support any kind of way of using People have been requesting the support for React Native, but one of the issues have been that they haven't been able to implemented it in a way that is compatible with the CSS spec. Some links:
/cc @oblador |
use transition
simply change the state onPress event etc.. |
You customize the animation and define it as, for example:
Then in component use: |
React Native v0.73 supports Transform Origin. Seems like this issue might get fixed after upgrading to RN v0.73 |
I have a modal-like view, and I want to show a view when button clicked, is it possible to slideInDown from specific point in the view rather than sliding from the Top of the screen. and if not, what's the best way to achieve this, thanx
The text was updated successfully, but these errors were encountered: