Skip to main content
added 3 characters in body; edited tags; edited title
Source Link
marc_s
  • 759.8k
  • 186
  • 1.4k
  • 1.5k

ScrollView on dotnet.NET 9 ios don'tiOS doesn't work (text don'tdoesn't show)

I'm having an issue with a ScrollView on iOS after upgrading to .NET 9 (MAUI). The ScrollView area appears (the white/scrollable area is there) but the text inside is not visible at all. On Android everything works normally. I'm looking for help to understand what's going on and how to fix it.

Context

  • .NET SDK: 9.x
  • .NET MAUI (iOS)
  • Affected platform: iOS (simulator and physical device)
  • Android behavior: OK (text visible and scroll works)
  • iOS behavior: ScrollView is present but the Labels' text is not rendered (empty space)
  • No runtime exceptions are thrown

.NET SDK: 9.x Framework: .NET MAUI (iOS) Affected platform: iOS (simulator and physical device) Android behavior: OK (text visible and scroll works) iOS behavior: ScrollView is present but the Labels' text is not rendered (empty space) No runtime exceptions are thrown Minimal Minimal reproducible example:

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="MyApp.MainPage">
  <ScrollView>
    <VerticalStackLayout Padding="20" Spacing="12">
      <Label Text="Title" FontSize="24" />
      <Label Text="Paragraph 1 — Lorem ipsum dolor sit amet..." />
      <Label Text="Paragraph 2 — Lorem ipsum dolor sit amet..." />

    </VerticalStackLayout>
  </ScrollView>
</ContentPage>

ScrollView on dotnet 9 ios don't work (text don't show)

I'm having an issue with a ScrollView on iOS after upgrading to .NET 9 (MAUI). The ScrollView area appears (the white/scrollable area is there) but the text inside is not visible at all. On Android everything works normally. I'm looking for help to understand what's going on and how to fix it.

Context

.NET SDK: 9.x Framework: .NET MAUI (iOS) Affected platform: iOS (simulator and physical device) Android behavior: OK (text visible and scroll works) iOS behavior: ScrollView is present but the Labels' text is not rendered (empty space) No runtime exceptions are thrown Minimal reproducible example:

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="MyApp.MainPage">
  <ScrollView>
    <VerticalStackLayout Padding="20" Spacing="12">
      <Label Text="Title" FontSize="24" />
      <Label Text="Paragraph 1 — Lorem ipsum dolor sit amet..." />
      <Label Text="Paragraph 2 — Lorem ipsum dolor sit amet..." />

    </VerticalStackLayout>
  </ScrollView>
</ContentPage>

ScrollView on .NET 9 iOS doesn't work (text doesn't show)

I'm having an issue with a ScrollView on iOS after upgrading to .NET 9 (MAUI). The ScrollView area appears (the white/scrollable area is there) but the text inside is not visible at all. On Android everything works normally. I'm looking for help to understand what's going on and how to fix it.

Context

  • .NET SDK: 9.x
  • .NET MAUI (iOS)
  • Affected platform: iOS (simulator and physical device)
  • Android behavior: OK (text visible and scroll works)
  • iOS behavior: ScrollView is present but the Labels' text is not rendered (empty space)
  • No runtime exceptions are thrown

Minimal reproducible example:

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="MyApp.MainPage">
  <ScrollView>
    <VerticalStackLayout Padding="20" Spacing="12">
      <Label Text="Title" FontSize="24" />
      <Label Text="Paragraph 1 — Lorem ipsum dolor sit amet..." />
      <Label Text="Paragraph 2 — Lorem ipsum dolor sit amet..." />

    </VerticalStackLayout>
  </ScrollView>
</ContentPage>
Source Link

ScrollView on dotnet 9 ios don't work (text don't show)

I'm having an issue with a ScrollView on iOS after upgrading to .NET 9 (MAUI). The ScrollView area appears (the white/scrollable area is there) but the text inside is not visible at all. On Android everything works normally. I'm looking for help to understand what's going on and how to fix it.

Context

.NET SDK: 9.x Framework: .NET MAUI (iOS) Affected platform: iOS (simulator and physical device) Android behavior: OK (text visible and scroll works) iOS behavior: ScrollView is present but the Labels' text is not rendered (empty space) No runtime exceptions are thrown Minimal reproducible example:

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="MyApp.MainPage">
  <ScrollView>
    <VerticalStackLayout Padding="20" Spacing="12">
      <Label Text="Title" FontSize="24" />
      <Label Text="Paragraph 1 — Lorem ipsum dolor sit amet..." />
      <Label Text="Paragraph 2 — Lorem ipsum dolor sit amet..." />

    </VerticalStackLayout>
  </ScrollView>
</ContentPage>