Open Reveon opened 4 years ago
hey @AndreiMisiukevich i think this might a enhancement no? Would be possible to size the items, and then expand them? or maybe fade them in ?
hey @rmarinho
Yes, definitely it might be. Need to try some approaches.
Fading in would be the easiest way, I believe, but not sure that it will look good (If I understood your idea correctly) :)
I think that the content should just stay in the same position and keep its size because current behavior can lead to some really weird effects. Especially if there are more images with different aspect settings. I think that on iOS this was mostly fine.
Yeah i think we need to think a little bit on this, and see other examples maybe.
But for sure we would need some kind of ExpandMode
@rmarinho please add "a/expander" label
Could add a ScrollView as a workaround:
<DataTemplate>
<ScrollView>
<Image/>
</ScrollView>
</DataTemplate>
Description
Content is moving when the Expander is running collapse or expand animation. This has impact especially on images where different aspect settings cause different issues. It also seems to cut label in the bottom. See the gif animation bellow.
Steps to Reproduce
Expected Behavior
Content should always stay in the same location during the expand/collapse animation and its size should stay the same.
Actual Behavior
Content is moving/jumping while the animation is running. Images are getting smaller/larger.
Basic Information
Screenshots
Reproduction Link
ExpanderContentMoving.zip