AswinPG/RGPopup

Animations not working correctly

Closed this issue · 5 comments

    `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

dotnet/maui#7632
Animations are working fine on android 11. On 12 there seems to be a maui issue

Hard reset of device solved the issue

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)