xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.63k stars 1.87k forks source link

"BackgroundColor = Transparent" does not work for content pages #3010

Open adrianknight89 opened 6 years ago

adrianknight89 commented 6 years ago

In my opinion, it should be possible for us to push pages on the navigation stack with a transparent background. On iOS, it is easy to see that the wrapper controller is being given an explicit White background whereas I can't easily tell how Android's container page/fragment has an opaque background. Transparent pages can be useful for people who want to create popups but also custom page transition animations that do not hide the current/previous page while push/pop operations are being done.

programmation commented 6 years ago

We tried adding some Push animation effects to our XF app but failed because of this issue.

adrianknight89 commented 6 years ago

In my case, it's the same problem. Right now, I'm considering making a single page app whose Content becomes a container view for a stack of views. The views would emulate pages. This would let me solve the transparent background / animation issue, but it's forcing me re-invent the wheel in ways I should NOT.

YZahringer commented 5 years ago

🎉 Fixed soon in https://github.com/xamarin/Xamarin.Forms/pull/6558

PrvnKmr commented 4 years ago

Any update on this? I am working on a requirement where the push page animation is expected to show the previous page underneath, till the transition completes. So, essentially the second page needs to be transparent over the first page while it slides in when pushed, so that the page below it (first page ) is still partially visible.

This is needed in push/pop and not by modal presentation

Adlorem commented 4 years ago

I am also interested in this one. Would be very helpful for creating professional layouts without custom renderers.

dansiegel commented 4 years ago

@samhouts I think this technically should be closed as resolved by #8551