| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
|
Can one of the admins verify this patch? |
Sorry, something went wrong.
- width/height can be specified in any valid PercentLength form that can be parsed. - make width/height properties be based on animatable CSS property. TODO: affectsLayout???? - add a few basic tests. Could probably use a few more? - fix a few null pointer exceptions in PercentLength helpers
- basic height animation - height animation in StackLayout - fix an issue where strings were not automatically converted to PercentLength when calling directly into `View.animate`
|
I added a few UI tests. With StackLayout there is a difference between how the animation looks on iOS and Android. AndroidA time update function is required to animate height on a view, so the layout updates smoothly as you would expect.
iOSThere is no time update callback in Javascript, so the value isn't animated as far as the {N} Layout is concerned.
What to do?It looks like there are some options to add a javascript callback that could update the Layout value over time on iOS, but it would almost certainly slow things down and add complexity. It's not clear to me if it's worth slowing down all height animations to satisfy a particular layout constraint. e.g. this poor animation would have to pay for a feature it doesn't need. 😭
Thoughts? |
Sorry, something went wrong.
- use height transition to cover textview content. - when clicking on the summary view, animate the summary height up to a small header and show the text view. - fake animating the height on the textview by very subtly animating its translateY value while shrinking the header height. This tricks your mind into think that the text view is also vertically growing, even thought it's just slightly moving up along the Y axis.
- verify all built-in animation curve types work as expected.
|
Added a few more examples to test corner cases: Scrolling text view with animated header
Animation curves
|
Sorry, something went wrong.
|
I missed testing a few things, so I put this back in WIP, but I still welcome reviews/feedback. |
Sorry, something went wrong.
|
Hey @justindujardin, thank you for your contribution. We are going to execute some tests and review the PR. |
Sorry, something went wrong.
|
is this scheduled for release? |
Sorry, something went wrong.
|
How can I know if this already available and on which version? |
Sorry, something went wrong.
|
Hello All, Great work on this pull-request! You can follow the progress on it here. Our main concerns with this implementation are related to performance. I am afraid that we have not had the time to measure and investigate it due to higher priority tasks. However, we are aware of its importance and wide demand, that is why we would like to invest further efforts and improve this feature as well as the animations at all. This has not been scheduled for release yet. Currently, we are working on the 4.1 roadmap, so I hope we could get it there. Please follow the issue and this pull-request for any comments and updates. |
Sorry, something went wrong.
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add support for animating width/height View properties.
Implements #1764
Use with View.animate
Use with Angular
Unfinished thoughts
There are a few limitations that could be lifted, but need input: