question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS] Shell.TitleView doesn't show accurate if not using just a string binding

See original GitHub issue

Description

When setting the Shell.TitleView in XAML, the content isn’t shown up accurate on iOS 16.1.

<Shell.TitleView>
        <Grid
            ColumnDefinitions="*,Auto"
            BackgroundColor="Red"
            >
            <Label
                Text="Headline"
                />
            <Button
                Grid.Column="1"
                Text="Button"
                />
        </Grid>
    </Shell.TitleView>

image

The Label isn’t shown at all, the Button is only displayed half and setting a BackgroundColor has no effect (just for seeing the bounds of the Grid. I just updated my repro for another issue with this issue.

Android works fine with the same project.

image

Steps to Reproduce

  1. Create a new MAUI app
  2. Add the snippet above to the MainPage
  3. Run it on iOS

Link to public reproduction project repository

https://github.com/AndreasReitberger/ReproScrollingIssueModal

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 16.1

Did you find any workaround?

No response

Relevant log output

No response

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

5reactions
FM1973commented, Dec 6, 2022

I got the same problem…

0reactions
harrykontopouloscommented, Jan 2, 2023

It happens on iOS 15.5 and 16 for me, unless I use the custom handler workaround suggestion above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Titleview not visible on IOS - Maui
I'm using Maui to create a cross-platform app. To navigate through the app the appshell is used. On Android everything is working fine,...
Read more >
Button in Shell.TitleView is not clickable
The command exists and I'm importing / calling it just like any other of my buttons. Clicking does nothing. I've set a breakpoint...
Read more >
[Resolve]-Xamarine Shell TitleView Button disappears in iOS
I'm struggling with this problem. In my content page i have a titleview containing a label and a button. If i execute in...
Read more >
Xamarin Community Forums - RSSing.com
Aspect property is shown as bindable property but I tried to bind it using int, Aspect and string even using a converter but...
Read more >
What channel bounce on directv
What you can do in constructor is: layout. Overview The LayoutOptions structure encapsulates two layout preferences: See moreAssigning the HorizontalOptions ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found