Animations not working correctly
Closed this issue · 5 comments
AswinPG commented
`protected virtual int GetLeftOffset(View content, Page page)
{
return (int)(content.Width + page.Width) / 2;
}
`
Height and Width of Content is -1 when this method is evaluated. This appears to be the reason why animations are not working.
This method is called after Handler is created
AswinPG commented
AswinPG commented
dotnet/maui#7632
Animations are working fine on android 11. On 12 there seems to be a maui issue
AswinPG commented
Hard reset of device solved the issue
AswinPG commented
If page.IsVisible is set to false then Size is not allocated, that results in move animation(animations that require size of the element to work)