-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] [iOS] TabbedPage is not rendered correctly and it breaks after rotating the device #14773
Comments
Seeing this happening in the repro. The tabbar gets the color of the background of the page too though. Seems to have some reference to the other iOS 15 tabbar issues we've been seeing |
@federicobenedetti, a PR (#14789) for this is open now, would you be able to grab the NuGet as described here and let us know if this fixes this issue? That will greatly speed up the review process. Besides verifying if this particular issue is fixed also be sure to check other scenarios in the same area to make sure that this fix doesn't accidentally has side-effects 🙂 Thanks! |
@jfversluis i've updated my reply here |
@jfversluis hi! I've done some more testing regarding this issue, and i can show you what's the issue now: As you can see, iOS 15 does in fact render correctly, and the fix works as intended (meaning that after rotating the device, the content is rendered as it should)! So, on iOS 14.5 everything is shifted up by default. Reproduction repo is updated as per new screenshots! Cheers, |
This fixes issue xamarin#14773, for both iOS 14 and 15
This fixes issue xamarin#14773, for both iOS 14 and 15
@federicobenedetti would you be able to try the fix in #14877 and see if that fixes it for both scenarios? |
EDIT: |
Great, I will do some more testing myself first as well :) thanks for the confirmation! |
@jfversluis unfortunately i've found a bug with iOS 14.5. Do you have any hint as why translucency will trigger this bug again? ** EDIT ** |
@federicobenedetti @jfversluis I updated my PR in order to solve this issue. Check if it's working now! |
@jfversluis @TrinTragula i can confirm, with confidence, that the problem is now gone! |
Description
On iOS (15.0), while navigating to a TabbedPage using Shell.GoToAsync, there is a bug that causes the TabBar to be render incorrectly after being rotated from portrait to landscape and back.
Also the tab bar color is also rendered incorrectly. In the gif below you can see that the iOS 14.5 device (right) has got a translucent, white-ish background. On the other hand, the iOS 15.0 device (left) has a completely red background.
Steps to Reproduce
Expected Behavior
There's no space between device bottom frame and application tabbar. Also, the tab bar is colored in white-ish translucent background.
Actual Behavior
There's a gap between the device bottom frame and the application tabbar. Also, the tab bar is completely red.
Basic Information
Environment
Show/Hide Visual Studio info
Screenshots
(the lag in the gif is caused by my slow vpn connection to the mac which has the emulators running)
Reproduction Link
Repo HERE or ZIP HERE
The text was updated successfully, but these errors were encountered: